10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
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)
DATE=`date +%Y%m%d%H%M%S`
HOME=/home/xmp/testing/xmp_report
RADIUS_PID=`xms -xmp sh pr | grep... (2 Replies)
Discussion started by: madala
2 Replies
2. UNIX for Advanced & Expert Users
RHEL 5.4
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
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
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.
funcstatus ()
{
if
then
echo "`date` - Current status... (2 Replies)
Discussion started by: gaddamja
2 Replies
4. Shell Programming and Scripting
Hi All,
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
2 Replies
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
5 Replies
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
1 Replies
7. AIX
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
5 Replies
8. Shell Programming and Scripting
Hi,
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
11 Replies
9. Shell Programming and Scripting
hello everyone,
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
3 Replies
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
1 Replies