1
vote
2answers
26 views

Kill all currently running cron jobs

For some reason my cron job scripts aren't exiting cleanly and they're backing up my server. There are currently a couple hundred processes running for one of my users. I can use the following command ...
0
votes
1answer
816 views

List processes with their launching command line

I'm looking for a Windows feature or third-party tool that can produce a list of active processes (as in the task manager) with the command line used to start each process. e.g. if I launch "php.exe ...
1
vote
1answer
2k views

pgrep/pidof usage for complex process names?

I am trying to use pidof or pgrep to be able to send a HUP to a process in my system. The problem is that I only want to kill the process with a precise parameter. This is the output of 'ps awx' ...
2
votes
1answer
257 views

What does the leading dash in process cmdline mean?

I noticed a process taking full CPU on my linux server, of which the COMMAND column from top -c is -bash. cat /proc/<pid>/cmdline shows -bash too. What does the leading dash mean? More info: ...
3
votes
2answers
2k views

Display complete command line (including arguments) for Windows process

I want to display a process's command line (including any arguments) from the command line itself. In other words, I want to show the "Command Line" column in the Task Manager but from a command line. ...
1
vote
3answers
1k views

change linux process priority

I ran a jar file in Linux and it is running from last 3 days. How can I change priority of that process? Will it speedup my application processing?
1
vote
5answers
552 views

Is there a way I can queue long running tasks?

Is there a way I can do the following in a unix terminal: Start a long running process Add another long running process to start when the previous is done Repeat step 2 until I have queued the ...
1
vote
7answers
1k views

Is it possible to change the cmdline of a running process (to more easily identify it in top, for example)?

I run a number of linux servers with VMware Server 2. When their response time is not so hot or the load average goes up, I open up top to see what's going on, or for our production servers I have top ...
13
votes
3answers
6k views

Show full process name in top

I'm running a rails stack on ubuntu. When I ps -AF, I get a descriptive process name set by the apache module like 00:00:43 Rails: /var/www... which is really helpful in diagnosing load issues. ...
2
votes
3answers
1k views

Setting affinity on windows server 2003

I have a program that by default only runs on one CPU. I have tried using the start /affinity x notepad.exe batch command but i can't get it to run my program. it changes the title of the command line ...
12
votes
2answers
1k views

Linux/Debian - What does 'pee' in moreutils do?

I recently discovered the 'moreutils' package in Debian (and Ubuntu). It's a collection of convenient unix tools. One of the commands is 'pee'. The man page says: pee is like tee but for pipes. ...
0
votes
3answers
413 views

Is there a good Cheat Sheet for the “ps” command?

I know the question was already asked in some way, but I'd like to find a good Cheat Sheet especially for the "ps" command. I've never been able to memorize the useful options, mostly because I use ...
21
votes
4answers
17k views

How to sort ps output by process start time?

Is there a way to sort ps output by process start time, so newest are either at the top or bottom ? On Linux ? On SysV5 ? On Mac ?