Search Results

Search: Posts Made By: wahab
11,276
Posted By wahab
Hi, I tried using gawk but getting below...
Hi,

I tried using gawk but getting below error.

: gawk: not found
11,276
Posted By wahab
Hi nawk is not working as this is HP-UX. ...
Hi

nawk is not working as this is HP-UX.

I am getting below error :

awk: Input line
annot be longer than 3,000 bytes.
The input line number is 1. The file is...
11,276
Posted By wahab
awk: Input line Cannot be longer than 3,000 bytes.
Guys,

I want to get the high CPU utilization from top.

I am using below code :
top -d2 >> /home/dba_monitoring/host_top_output.txt
echo "Script started `date`" > $runlog
usage=`grep "^ *$1"...
Forum: HP-UX 07-17-2011
4,638
Posted By wahab
Hi , Thanks Mayur for your inputs.. I...
Hi ,

Thanks Mayur for your inputs..

I need a PID of the highest CPU consuming process.

#!/usr/bin/ksh
cpu_usage_limit=60 #In percentage
host=`hostname`

top -l 1| awk ‘/CPU usage/ {print...
Forum: HP-UX 07-16-2011
4,638
Posted By wahab
top -l 1 invalid option.
Hi,

I am using below command to get the High CPU Utilization.

top -l 1| awk ‘/CPU usage/ {print $12, $13}’

I am getting below error.

ksh: 1: parameter not set
top: illegal option -- l...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy