Useful shell commands » History » Version 2
Amber Herold, 09/23/2011 11:06 AM
1 | 1 | Amber Herold | h1. Useful shell commands |
---|---|---|---|
2 | |||
3 | h3. check the status of a job |
||
4 | |||
5 | # ssh to the processing server |
||
6 | # <pre>qstat -au YOUR_USER_NAME</pre> |
||
7 | # will list your jobs |
||
8 | |||
9 | h3. make a folder writable |
||
10 | |||
11 | <pre> chmod -R g+rw eman_recon14</pre> |
||
12 | |||
13 | |||
14 | h3. kill a process |
||
15 | |||
16 | # Log into the machine it is running on |
||
17 | <pre>ssh fly</pre> |
||
18 | # Look for processes with your user name |
||
19 | <pre>ps -ef |grep [your_username]</pre> |
||
20 | # Kill the process using the number in the first column after your username |
||
21 | <pre>kill [process id]</pre> |
||
22 | # If the process was a copy, remove the destination folder |
||
23 | <pre>rm [destination folder]</pre> |
||
24 | # list system stats |
||
25 | <pre>top</pre> |
||
26 | 2 | Amber Herold | |
27 | h2. Kill a job running through the job manager |
||
28 | |||
29 | * use *qdelete* <job number> |