10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to Scripting , please give me guidance to write the script to see top processes on the Linux operating system.
I executed this script on my Virtual Server(Linux)
RADIUS_PID=`xms -xmp sh pr | grep... (2 Replies)
Discussion started by: madala
2. UNIX for Advanced & Expert Users
What are the first things you would look for when analyzing Linux's top command output?
Below is a top output from one of our Linux machines; Do you see anything wrong?
top - 15:56:01 up 133 days, 5:55, 5 users, load average: 2.94, 2.93, 6.58
Tasks: 178 total, 2 running,... (2 Replies)
Discussion started by: John K
3. UNIX for Dummies Questions & Answers
I have ascript with a recursive funtion below.
I have mentioned to sleep for 60minutes but it doesnt doing so.
Its keep on running until if /elif conditions satiesfies.
Can you pls help what is wrong here.
echo "`date` - Current status... (2 Replies)
Discussion started by: gaddamja
4. Shell Programming and Scripting
O/S: Linux 86x64 Red Hat
I have a sql script that queries top consuming processes of Linux using TOP commnd.
Now I need to automate this task and pass the top processes i.e., PID to the sql script through unix shell script.
Could anyone please let me know how to achieve this.
... (2 Replies)
Discussion started by: a1_win
5. Shell Programming and Scripting
ps -eo pid,comm,%cpu lists all processes (in increasing PID number).
How to get only the top-10 most CPU intensive ones? I know about top: this is BASH exercise.
I tried redirecting above code to cut ps -eo pid,comm,%cpu | cut -f2but ps' output isn't TAB delimited. How can I otherwise use... (5 Replies)
Discussion started by: courteous
6. UNIX for Dummies Questions & Answers
I'm using top to view processes. But, I do not know how to scroll down the list to view what is not showed in the terminal window. Anyone know how to do this? (1 Reply)
Discussion started by: keenansnews
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
8. Shell Programming and Scripting
Could someone please tell me how to wakeup sleeping processes? (i.e. change the process status from "S" to "R" when viewing in ps command).
I ran a few programs in the background by "&" which went into "sleep" mode and I want them to run.
Any help will be greatly appreciated.
Steve (11 Replies)
Discussion started by: stevefox
9. Shell Programming and Scripting
i am attempting to run the sleep function (i've also tried select) during the execution of a command to mimic a status. for example:
# this is a terminal screen
# here the process is executed
# below this a status is displayed while the command executes like so:... (3 Replies)
Discussion started by: effigy
10. UNIX for Dummies Questions & Answers
how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number.
top -n 20
i want to save this output to a file... (1 Reply)
Discussion started by: TRUEST