This is a discussion on same C shell question within the Shell scripting forums, part of the Development/Scripting category; Use man ps to take a look at how to use ps in some advanced way. You are required to ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Use man ps to take a look at how to use ps in some advanced way. You are
required to create a shell script called advcps. advcps will display a menu (using select command), letting a user choose the criteria he/she prefers to display the information about all the processes running in the system. advcps should provide the options to: (1) display all the processes based on the alphabetical order of their creators; (2) display all the processes based on the size of memory they are using (from high to low); (3) display all the processes based on the CPU time they have consumed (from high to low); (4) display all the process based on their priorities (from high to low). advcps should also provide an option to let the user exit itself. |
| Sponsored Links | ||
|
|
|
|||
|
No,they are not working ,and only get the input message :
please inter thr user's name myuser name Don't have this user! looks this code cannot store the user name varable to seach at server! and my first code is working if i type the user name is : "1".i don't know why, ^^ |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| phpmyadmin question | paul555 | Databases servers | 2 | 07-13-2007 09:27 AM |
| Squid Question | asterisk | Linux software | 2 | 05-17-2007 05:52 PM |
| C question | TOP | Coding in General | 1 | 07-08-2006 01:14 AM |
| C question | TOP | Coding in General | 3 | 03-11-2006 12:08 AM |
| question | TOPHUMAN | Shell scripting | 1 | 02-06-2006 02:25 PM |