Monday, July 6, 2009

UNIX: How to kill/pause/break jobs in Unix

1) To display full information about each of the processes currently running.
ps –fu USERID

2) To pause/break the currently running job and resume.
Kill –s STOP - To Pause the job
Kill –s CONT - To Resume the paused job

3) To display how much free disk space is available for each file system you have
df –h

4) The below command displays how much space a file occupies.
du –kh

5) To compress a file
compress FILENAME

Use the last two tips to efficiently manage your disk space. Delete the files you don’t require, or that can be regenerated easily. If you need to keep them, compress and store them.

No comments:

Post a Comment