04-07-2014
Next thing to do is find out which processes eat the CPU cycles and why. What does ps auwx say?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I've got some CPU bottleneck on a HP-UX 11 server : i didn't
understand it until i discover i've got an unusual high percentage
of NICE% CPU regarding my DBRMS process (Sybase 12.x).
How do i have to understand it and how to resolve it ?
Thx. (0 Replies)
Discussion started by: eliador2001
0 Replies
2. Programming
Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies
3. UNIX for Dummies Questions & Answers
hello everybody:
I have some job running on tru64 system and Im the root, due to limited resources I end up with my job ( vdump) for example taking the lowest share, I researched the nice command on the net, but couldnt get enough info, can I use it to already running process or I only use it... (1 Reply)
Discussion started by: aladdin
1 Replies
4. HP-UX
Hi,
I have two identical 12 CPU HPUX machines, and I run the same processes on each that load the boxes fully.
top on one reports activity under the NICE (19%) and SYS (18%) columns, while top on the other reports 0% NICE and 16% SYS. What would cause NICE to be zero on one machine and not... (5 Replies)
Discussion started by: CBorgia
5 Replies
5. Linux
Hi, new here and need some help. Sometimes my site is extremely slow, if when there aren't too many people on, whereas when there are over 300 online members the site may be very fast. We use CentOS, PHP 5.26. The server has 4GB and Plesk usually shows about 2 or 3 GB free.
I believe I can see... (4 Replies)
Discussion started by: pspace
4 Replies
6. AIX
Is there a 'top' command equivalent in AIX 4.2 ?
I already checked and I do not see the following ones anywhere:
top
nmon
topas (1 Reply)
Discussion started by: Browser_ice
1 Replies
7. UNIX for Advanced & Expert Users
Hello,
Some guy said to me that using the nice command to decrease the priority of a process is a myth, that the operating system corrects the priorities as the processes need cpu. Is this true? (4 Replies)
Discussion started by: psimoes79
4 Replies
8. Shell Programming and Scripting
Hello folks,
I am searching for pattern, after that i want its presenece on top to bottom basis, like
cat abcd.txt |grep "123"|awk {'print $3'} |sort|uniq -c
it show result like
10 1.1.1.1
1 1.1.1.1
15 1.1.1.1
100 1.1.1.1
but i want to see this like
100 1.1.1.1
15 1.1.1.44
10... (3 Replies)
Discussion started by: learnbash
3 Replies
9. HP-UX
Running 2 VM Guests on an HPUX Integrity Server. One Guest runs great, the other is always at a high NICE value and 0% idle as shown in TOP:
What do you think should be tuned to bring down the NICE and increase IDLE %? Thanks in advance
-hpuxadmin
slow VM GUEST
Load averages: 2.56,... (5 Replies)
Discussion started by: hpuxadmin
5 Replies
10. Shell Programming and Scripting
Dear Friends,
I have a directory when i take du of that directory it takes alot of memory and cpu and I/O, i want to use nice to run my script that have du command slowly so it won't take I/O and cpu, please suggest. (6 Replies)
Discussion started by: learnbash
6 Replies
LEARN ABOUT NETBSD
psrset
PSRSET(8) BSD System Manager's Manual PSRSET(8)
NAME
psrset -- control processor sets
SYNOPSIS
psrset [setid ...]
psrset -a setid cpuid ...
psrset -b setid pid ...
psrset -c [cpuid ...]
psrset -d setid
psrset -e setid command
psrset -i [setid ...]
psrset -p
psrset -r cpuid ...
psrset -u pid ...
DESCRIPTION
The psrset command can be used to control and inspect processor sets.
The system always contains at least one processor set: the default set. The default set must contain at least one online processor (CPU) at
all times.
Available options:
-a Assign one or more processors (CPUs) to the set setid. In the current implementation, a CPU may only be present in one set. CPU IDs
are as reported and used by the cpuctl(8) command.
-b Bind one or more processes to the set setid. All LWPs within the processes will be affected. Bindings are inherited when new LWPs
or processes are forked. However, setting a new binding on a parent process does not affect the bindings of its existing child pro-
cesses.
-c Create a new processor set. If successful, the ID of the new set will be printed. If a list of CPU IDs is provided, those CPUs will
be assigned to the set upon creation. Otherwise, the set will be created empty.
-d Delete the processor set specified by setid. Any LWPs bound to the set will be re-bound to the default processor set.
-e Execute a command within the processor set specified by setid.
-i List all processor sets. For each set, print the member CPUs. If psrset is run without any options, it behaves as if -i were given.
-p List all CPUs. For each CPU, print the associated processor set.
-r Remove a CPU from its current set, and return it back to the default processor set.
-u Bind the specified processes to the system default processor set.
SEE ALSO
pset(3), cpuctl(8), schedctl(8)
HISTORY
The psrset command first appeared in NetBSD 5.0.
BSD
September 23, 2008 BSD