01-10-2007
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi have just built a new sunfire 280r with solaris 9 and i Have 2 questions
1) where can i view some information that will tell me for definate that the 2*900 mhz processors are both being used, i tried using "top" but it doesnt tell me for sure that both processors are churning away together
... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
2. Debian
I have a quad cpu Debian box running as an email server. I'm looking to see how the cpu's are being used. Top just shows them alltogether with the 4 processes running.
Does anyone know how I can get Top to show me each cpu like the HP-UX top does? Thanks.
top - 14:56:08 up 2:35, 1 user, ... (1 Reply)
Discussion started by: natter
1 Replies
3. UNIX for Advanced & Expert Users
I am using the Red Hat Enterprise Linux AS release 3 (Taroon), 2.4.21-4.EL. When I see the output of the command 'top'. I am getting the following
************************************************************************************
2 processes: 227 sleeping, 5 running, 0 zombie, 0 stopped... (3 Replies)
Discussion started by: praveen_b744
3 Replies
4. UNIX for Dummies Questions & Answers
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies
5. Shell Programming and Scripting
Okay, so I'm a little familiar with C and Linux, but my shell scripting experience is limited to say the least. I know that you begin a shell script with this
#!/bin/bash
Basically, I've written a C program that's output writes to a shell script. What my problem is, is I would like this shell... (4 Replies)
Discussion started by: beatzz
4 Replies
6. 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
7. Red Hat
CPU usage: PS versus TOP - Different output
Hi
When monitoring a Linux environment with PS command, reported CPU value for a certain process differs, sometimes greatly, from the value seen in TOP.
I understood this is not a bug, they report different data.
I can't understand the nature... (4 Replies)
Discussion started by: liav
4 Replies
8. Solaris
What should we do if we show a 0% cpu idl on top? (5 Replies)
Discussion started by: Pouchie1
5 Replies
9. UNIX for Dummies Questions & Answers
Hi folks, can you help me decipher this?
I know that ftp will accept input from all commands until it encounters EOF again but I don't quite make sense of what the entirety of the script is really trying to achieve.
Many thanks.
ftp -n someserver << EOF | head -20
user username@server... (2 Replies)
Discussion started by: verargulla
2 Replies
10. Red Hat
Hi
please see attached picture of the TOP command.
the "java" process seem to consume 700% of cpu
is that mean that he uses 100% of every 7 cpu cores?
thanks (2 Replies)
Discussion started by: guy3145
2 Replies
LEARN ABOUT SUNOS
wmemcmp
wmemcmp(3C) Standard C Library Functions wmemcmp(3C)
NAME
wmemcmp - compare wide-characters in memory
SYNOPSIS
#include <wchar.h>
int wmemcmp(const wchar_t *ws1, const wchar_t *ws2, size_t n);
DESCRIPTION
The wmemcmp() function compares the first n wide-characters of the object pointed to by ws1 to the first n wide-characters of the object
pointed to by ws2. This function is not affected by locale and all wchar_t values are treated identically. The null wide-character and
wchar_t values not corresponding to valid characters are not treated specially.
If n is zero, ws1 and ws2 must be a valid pointers and the function behaves as if the two objects compare equal.
RETURN VALUES
The wmemcmp() function returns an integer greater than, equal to, or less than 0, accordingly as the object pointed to by ws1 is greater
than, equal to, or less than the object pointed to by ws2.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
wmemchr(3C), wmemcpy(3C), wmemmove(3C), wmemset(3C), attributes(5), standards(5)
SunOS 5.10 14 Aug 2002 wmemcmp(3C)