01-07-2011
iostat gives bps
vmstat gives paging
10 More Discussions You Might Find Interesting
1. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
2. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
3. Shell Programming and Scripting
Can I modify the grep command to show only a process name?
Currently I run ps -efa | grep chk_web to get the following:
mousr 3395 1 0 09:36:06 pts/10 0:00 sh /var/opt/scripts/chk_web.sh
Can this be changed in any way to get only:
/var/opt/scripts/chk_web.sh or chk_web.sh.
I... (3 Replies)
Discussion started by: runnerpaul
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
I have a directory in which I am having files like
20101227abc1234
20101226def5678
20101227abc.gz
I want to list files with abc as a part of its filename but .gz files.
So my output should be 20101227abc1234 only and not 20101227abc1234 and 20101227abc.gz both.
Is there any way I... (2 Replies)
Discussion started by: dashing201
2 Replies
5. Shell Programming and Scripting
On Solaris, is there a command which can show the file system of a specific directory?
In a script, i need to figure out whether a directory or its parent directory is mounted as "NFS".
Is there a easy way to figure it out? (3 Replies)
Discussion started by: sleepy_11
3 Replies
6. Solaris
Hi,
When I query using ps -ef, the complete command is not displayed and is truncated.
Can you please tell me a method to resolve this ?
I have tried the below.
ps -ef | cat
ps -ef | grep imp >/tmp/t1.txt
/usr/ucb/ps -auxw
pargs <pid>
/usr/ucb/ps -aefyl | grep imp
Thanks (11 Replies)
Discussion started by: mk1216
11 Replies
7. AIX
Does anyone know of a command that can be run on the lpar to show the name of the lpars managing HMC?
We have a large environment and records a little old on which HMC manages which lpars....if i could login to an lpar and just issue a command to show me its managing hmc that would be great. (2 Replies)
Discussion started by: Foiled
2 Replies
8. IP Networking
How many pps (packets per second) roughly can average server user maximum use?
I mean if its normal to have like 100 000 pps
a few VPS users there have around 100,000 - 900,000pps
there has been bans for DoS.
PS: how pps value can be discovered and how tracked to causing process?
thx (0 Replies)
Discussion started by: postcd
0 Replies
9. AIX
I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1.
Here is the output of lspv.
# lspv
hdisk0 00044d4dfbb11575 vg_usr1 active
hdisk1 0000150179158027 vg_usr1 active
hdisk2 ... (11 Replies)
Discussion started by: c3rb3rus
11 Replies
10. Shell Programming and Scripting
command to show alias name for ipaddress
for example:
nslookup 192.168.1.10
Name: webqa.com
Address: 192.168.1.10
Aliases: info.com
I don't think this question needs high expertise. Moved from "UNIX for Advanced & Expert Users"
Please use CODE tags as required by forum rules! (1 Reply)
Discussion started by: raghur77
1 Replies
LEARN ABOUT NETBSD
tbrconfig
TBRCONFIG(8) BSD System Manager's Manual TBRCONFIG(8)
NAME
tbrconfig -- configure a token bucket regulator for an output queue
SYNOPSIS
tbrconfig interface [tokenrate [bucketsize]]
tbrconfig -d interface
tbrconfig -a
DESCRIPTION
tbrconfig configures a token bucket regulator for the output network interface queue. A token bucket regulator limits both the average
amount and instantaneous amount of packets that the underlying driver can dequeue from the network interface within the kernel.
Conceptually, tokens accumulate in a bucket at the average tokenrate, up to the bucketsize. The driver can dequeue packets as long as there
are positive amount of tokens, and the length of the dequeued packet is subtracted from the remaining tokens. Tokens can be negative as a
deficit, and packets are not dequeued from the interface queue until the tokens become positive again. The tokenrate limits the average
rate, and the bucketsize limits the maximum burst size.
Limiting the burst size is essential to packet scheduling, since the scheduler schedules packets backlogged at the network interface. Limit-
ing the burst size is also needed for drivers which dequeues more packets than they can send and end up with discarding excess packets.
When the tokenrate is set to higher than the actual transmission rate, the transmission complete interrupt will trigger the next dequeue. On
the other hand, when the tokenrate is set to lower than the actual transmission rate, the transmission complete interrupt would occur before
the tokens become positive. In this case, the next dequeue will be triggered by a timer event. Because the kernel timer has a limited gran-
ularity, a larger bucketsize is required for a higher tokenrate.
The interface parameter is a string of the form ``name unit'', for example, ``en0''.
The tokenrate parameter specifies the average rate in bits per second, and ``K'' or ``M'' can be appended to tokenrate as a short hand of
``Kilo-bps'' or ``Mega-bps'', respectively. When tokenrate is omitted, tbrconfig displays the current parameter values.
The bucketsize parameter specifies the bucket size in bytes, and ``K'' can be appended to bucketsize as a short hand of ``Kilo-bytes''. When
bucketsize is omitted, tbrconfig assumes the regulator is driven by transmission complete interrupts and, using heuristics, assigns a small
bucket size according to the tokenrate. When the keyword ``auto'' is given as bucketsize, tbrconfig assumes the regulator is driven by the
kernel timer, and computes the bucket size from tokenrate and the kernel clock frequency.
If the -d flag is passed before an interface name, tbrconfig will remove the token bucket regulator for the specified interface.
Optionally, the -a flag may be used instead of an interface name. This flag instructs tbrconfig to display information about all interfaces
in the system.
EXAMPLES
To configure a token bucket regulator for the interface en0 with 10Mbps token rate and 8KB bucket size,
# tbrconfig en0 10M 8K
To rate-limit the interface en0 up to 3Mbps,
# tbrconfig en0 3M auto
SEE ALSO
altq.conf(5), altqd(8)
HISTORY
The tbrconfig command first appeared in WIDE/KAME IPv6 protocol stack kit as part of ALTQ tools.
BSD
July 25, 2000 BSD