UNIX Process Management
Here are a few UNIX commands that I have recently encountered that help with process management and are particularly useful when jobs are running in the background. Here they are:
nohup
It’s short for no hangup and stops termination a job when a user logs off. Another result is that all console messages being directed to a file called nohup.out in the directory current to the job being run, or in the user’s home directory where write access to the current working directory is unavailable.
ps
This returns a list of processes, their ID’s and their statuses. By default this is for your own processes but you can look beyond this with the myriad of options that can be passed. For instance, the-U switch allows you to look at job for other users while the -f one shows more information than the standard call and this even includes the commands submitted to start the ongoing processes.
kill
The name says it all and it’s far quicker than the rigmarole that you have to endure with the Windows task manager; I wonder if there is a command line approach to process termination on Windows.
Other Posts That May Interest You
Place your comment
Topics Discussed
Adobe Apache Blogging Blogs Canon Command Line CSS Debian Fedora Firefox GNOME Google Hard Drives Hardware HTML Installation Internet Explorer Linux Microsoft MySQL Opera Operating System Perl Photoshop Photoshop Elements PHP Plugins SAS Software SQL Ubuntu UNIX upgrade VirtualBox Virtualisation Virtual Machines VMware Web Browsers Windows Windows Vista Windows XP WordPress WordPress.com WordPress plugins XHTMLTwitter Updates
- GR Shared Items: Install Guest-Additions on Ubuntu 10.10 Beta : Workaround http://ow.ly/18VGtM 3 hrs ago
- GR Shared Items: Donncha: Easy Setup for WP Super Cache - One of the things that has bugged me about the WP Super Ca... http://ow.ly/18UbjE 1 day ago
- GR Shared Items: SD, SDHC and SDXC cards get speed injection http://ow.ly/18UbjF 1 day ago
- GR Shared Items: WP Blackberry: WordPress for BlackBerry 1.4.3 Released http://ow.ly/18UbjG 1 day ago
- Not before time: RT @pc_pro: Orange and T-Mobile to share networks from next month http://bit.ly/bhdXsu (Ah, bless) 3 days ago
- More updates...
Monthly Archives
[...] by John on June 5th, 2007 In an earlier post, I wondered about command line management of Windows processes. Well, I have since located the sort [...]