- ps **USE**--({ =print status} Display the list of currently running processes with their process IDs [PID] numbers, Use ps axu to see all processes currently running on your system {also those of other users or without a controlling terminal}, Each with the name of the owner, Use "top" to keep listing the processes currently running.),
- fg PID **USE**--( Bring a background -or- stopped process to the foreground.),
- bg PID **USE**--( Send the process to the background, Opposite to <fg>, The same can be accomplished with <Ctrl>z, If you have stopped jobs, you have to type exit twice in row to log out.),
- any_command **USE**--( Run any command in the background [The symbol "&" means "run the proceeding command in the background"] ),.
- batch any_command **USE**--( Run any command [usually one that is going to take more time] when the system load is low, I can logout,& the process will keep running. ).
- at 17:00 **USE**--( Execute a command at a specified time, You will be prompted for the command[s] to run, until you press <Ctrl>d).
- kill PID **USE**--( Force a runing process shutdown, First determine the PID of the process to kill using ps),
- killall program_name **USE**--( Kill program[s] by name. ),
- xkill **USE**--( [In an X-Window terminal] Kill a GUI-based program with mouse, [Point with your mouse cursor at the window of the process you want to kill & click}.) ,
- nice program_name **USE**--( Run program_name adjusting its **priority**, Since the priority is not specified in this example, it will be adjusted by 10 [ultimatly process will run slower], [from the default value (usually 0], The lower the number [of "niceness" to other users on the system], The higher the priority, The priority value may be in the range -20 to19, Only root may specify negative values. **Use "top" to display the priorities of the running processes**),.
- renice -1 PID **USE**--( [as root] Change the priority of a running process to -1, Normal users can only adjust processes they own & only up from the current value [which make them run slower],
Tuesday, October 19, 2010
How to control various Process in linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment