Well, for a start get rid of all the seds and the egrep, since they are only changing the field seperators and searching, both of which can be done by awk, and it is writing everythig to the same ouput file.
That yields this...
Now it becomes clear that all the processing can be done with awk, but there are still unecessary external calls, Which of course leads to the obvious conclusion that the wrong tools were being used, this should have been an awk script from the start.
like this:
and the command then becomes:
tail -f $DIR3$DATE4.log | filter.awk > DATA1.$DATE4.log
Hi am facing high cpu utilization on my sybase server.
I have P550
Number Of Processors: 4
Processor Clock Speed: 1656 MHz
CPU Type: 64-bit
Kernel Type: 32-bit
LPAR Info: 1 65-D837E
Memory Size: 7840 MB
in topas it shows
Name PID CPU% PgSp Owner
dataserv 565264 ... (1 Reply)
good morning.
just wanted to ask if there's a way to check what causes the high cpu utilization of a server for the past 2 months? My jffnms report resulted to high utilization for a specific server last month. is there a way to check via a command line?
thanks (9 Replies)
Hi i recently observed my cpu being used 100% due to which load average on machine get increased to < 5.
I have no idea what the process is?
Appreciate any help in this regard.
root 15859 99.9 0.0 5668 1592 pts/4 R+ 12:28 660:06 \_ pvs
root 7334 99.9 ... (2 Replies)
i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config
<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 15... (4 Replies)
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Hi Experts,
I need to understand few basic things regarding top command result from one of the node i have collected:
Cpu0 : 4.6%us, 2.0%sy, 0.0%ni, 91.4%id, 1.3%wa, 0.3%hi, 0.3%si, 0.0%st
Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : ... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Compile cpp2html.c to produce cpp2html.o.
( Important: the source code in these files is C, not C++, and so... (8 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
]Compile cpp2html.c to produce cpp2html.o.
( Important: the source code in these files is C, not C++, and so... (1 Reply)
Hi ,
We found CPU is high due to python process .Is this something that Oracle team should look on or Unix team has to work on it ?Could you please advise use of python process ?
top - 12:03:03 up 43 days, 15:11, 5 users, load average: 1.53, 1.33, 1.23
Tasks: 126 total, 3 running, 123... (12 Replies)
Hi,
I see following 'nfsd' command is using more CPU. Could someone please comment on it's pros and cons of it?
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
5 ? 16890 root 152 20 34696K 12036K run 57166:48 856.13 854.64 nfsd
OS -- HP-UX
One... (4 Replies)
Discussion started by: Maddy123
4 Replies
LEARN ABOUT DEBIAN
npx
NPX(4) BSD/i386 Kernel Interfaces Manual NPX(4)NAME
npx -- Numeric Processing Extension coprocessor
SYNOPSIS
device npx
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.flags="0x0"
hint.npx.0.irq="13"
DESCRIPTION
The npx driver enables the use of the system's Numeric Processing Extension coprocessor. Numeric processing extensions are present in sys-
tems with 486DX CPUs and in systems with 387 or 487SX coprocessors. The npx driver is required for proper system functioning. If there is
no NPX in the system, the system will not boot.
The flags for npx0 are:
0x01 do not use the NPX registers to optimize bcopy.
0x02 do not use the NPX registers to optimize bzero.
0x04 do not use the NPX registers to optimize copyin or copyout.
The NPX registers are normally used to optimize copying and zeroing when all of the following conditions are satisfied:
1. cpu I586_CPU is an option
2. the CPU is an i586 (perhaps not a Pentium)
3. the probe for npx0 succeeds
4. INT 16 exception handling works.
Then copying and zeroing using the NPX registers is normally 30-100% faster.
The flags can be used to control cases where it does not work or is slower. Setting them at boot time using userconfig works correctly (the
optimizations are not used until later in the bootstrap when npx0 is attached).
BUGS
There are lots of them, especially on old cheap motherboards. In particular, some motherboards do not have the interrupt lines from the NPX
to the CPU wired properly.
BSD August 28, 1993 BSD