01-10-2013
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in
this forum under
special homework rules.
Please review the
rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
If you did post homework in the main forums, please review the
guidelines for posting homework and repost.
Thank You.
The UNIX and Linux Forums.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
would like to know the server status from the following 'top' out put. Because, the application is giving a bad performance. would like to know whether the load is within the acceptable limit.
Murali...
System: shpu28 Tue Feb 3 10:03:31... (4 Replies)
Discussion started by: manduva
4 Replies
2. UNIX and Linux Applications
Ello group,
I have general question about how the performance of server/client should be?
My server is able to answer about 650times per second. Is it good performance?
the apache on the same machine makes 1600/sec BUT there is nine instances of httpd daemon what makes 180/ sec /instance.
of... (1 Reply)
Discussion started by: tomjan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am supposed to run few jobs based on the usage of unix server. How to find out if the server is too busy. what are the commands we can use to find out that.
Thanks (1 Reply)
Discussion started by: dnat
1 Replies
4. Solaris
Hi,
i would like to ask if it is possible to get the server load on a solaris machine, but i don't want something like uptime (load average), iostat and vmstat. I would like to get something in percentage like CPU load in %, Disk usage in %, Ram usage in %.
I want to collect this data and to... (3 Replies)
Discussion started by: tafil
3 Replies
5. Solaris
Hi,
Please advice .. if server is slowness then what are the steps i have to follow...
Thanks,
Mani (5 Replies)
Discussion started by: Mani_apr08
5 Replies
6. Infrastructure Monitoring
There is a big problem with the server (VPS based on OpenVZ, CentOS 5, 3GB RAM). The problem is the following. The first 15-20 minutes after starting the server is operating normally, the load average is less than or about 1.0, but then begins to increase sharply% wa, then hovers around 95-99%.... (2 Replies)
Discussion started by: draiphod
2 Replies
7. Solaris
hi all,
My server box is slow running. I have provide some statistics below:
Where is the bottleneck on the server?
I guess the bottleneck is disk I/O?
bash-3.00# prstat -Z
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
29206 mobi1 334M 264M sleep ... (8 Replies)
Discussion started by: buyantugs
8 Replies
8. AIX
Hi,
I am new registered user here in this UNIX forums.
I am a new system administrator for AIX 6.1. One of our servers performs poorly every time our application (FINACLE) runs many processes/instances. (see below for topas snapshot)
I use NMON or Topas to monitor the server utilization. I... (9 Replies)
Discussion started by: guzzelle
9 Replies
9. Red Hat
Hi Guys,
I am running Oracle database on RHEL 2.6.18-164.el5, now I want to check and make sure that my server is performing optimally.
I check top:
top - 09:45:03 up 2 days, 15:22, 3 users, load average: 2.57, 2.85, 2.77
Tasks: 433 total, 3 running, 430 sleeping, 0 stopped, 0... (1 Reply)
Discussion started by: Phuti
1 Replies
10. UNIX for Advanced & Expert Users
We are wondering if we are facing performance issue in our server when running Informatica jobs. Two things to suspect:
cache memory never comes down even when Top shows > 99% used.
There is some contention io or network related or Cache is clogged
top - 20:58:20 up 16 days, ... (3 Replies)
Discussion started by: smart_guy471
3 Replies
LEARN ABOUT CENTOS
taskset
TASKSET(1) User Commands TASKSET(1)
NAME
taskset - retrieve or set a process's CPU affinity
SYNOPSIS
taskset [options] mask command [arg]...
taskset [options] -p [mask] pid
DESCRIPTION
taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affin-
ity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system. The Linux scheduler will honor the
given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: the
scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU
affinity is useful only in certain applications.
The CPU affinity is represented as a bitmask, with the lowest order bit corresponding to the first logical CPU and the highest order bit
corresponding to the last logical CPU. Not all CPUs may exist on a given system but a mask may specify more CPUs than are present. A
retrieved mask will reflect only the bits that correspond to CPUs physically on the system. If an invalid mask is given (i.e., one that
corresponds to no valid CPUs on the current system) an error is returned. The masks are typically given in hexadecimal. For example,
0x00000001
is processor #0
0x00000003
is processors #0 and #1
0xFFFFFFFF
is all processors (#0 through #31).
When taskset returns, it is guaranteed that the given program has been scheduled to a legal CPU.
OPTIONS
-a, --all-tasks
Set or retrieve the CPU affinity of all the tasks (threads) for a given PID.
-p, --pid
Operate on an existing PID and do not launch a new task.
-c, --cpu-list
Specify a numerical list of processors instead of a bitmask. The numbers are separated by commas and may include ranges. For exam-
ple: 0,5,7,9-11.
-h, --help
Display usage information and exit.
-V, --version
Display version information and exit.
USAGE
The default behavior is to run a new command with a given affinity mask:
taskset mask command [arguments]
You can also retrieve the CPU affinity of an existing task:
taskset -p pid
Or set it:
taskset -p mask pid
PERMISSIONS
A user can change the CPU affinity of a process belonging to the same user. A user must possess CAP_SYS_NICE to change the CPU affinity of
a process belonging to another user. A user can retrieve the affinity mask of any process.
AUTHOR
Written by Robert M. Love.
COPYRIGHT
Copyright (C) 2004 Robert M. Love
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
chrt(1), nice(1), renice(1), sched_setaffinity(2), sched_getaffinity(2)
See sched_setscheduler(2) for a description of the Linux scheduling scheme.
AVAILABILITY
The taskset command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux April 2003 TASKSET(1)