10 More Discussions You Might Find Interesting
1. Programming
Please take a look on following code:
s = socket(PF_INET, SOCK_STREAM, 0); //socket
fcntl(s, F_SETFL, O_NONBLOCK); //set socket to nonblock
retry_conn:
ret = connect(s, (struct sockaddr *)&serv_addr, sizeof(struct sockaddr_in)); // try to connect, for sure... (7 Replies)
Discussion started by: revolta25
7 Replies
2. Solaris
Hi,
One of the file system is getting full and I was trying to do some housekeeping. I can see two logs directory, I am not sure how to fix it. if I go inside it, it goes inside smaller one
root@pdrpd01-ddp01:/# cd /ltd/apps/LOTM/TeamCDC34/TeamInvest... (6 Replies)
Discussion started by: solaris_1977
6 Replies
3. Solaris
i have luns offered by SE3310 being mounted on two T2000 servers (sun solaris 10u11) . i can see the files on both servers but if i create a new file or rename n existing file on one node its not immediately visible on the other unless i unmount n remount the partition ..how can i fix this ? (2 Replies)
Discussion started by: aliyesami
2 Replies
4. UNIX for Dummies Questions & Answers
Hello!
In document "Advanced System Administrationfor the Solaris™ 10Operating SystemSA-
202-S10"
(Solaris 10 Advanced System Administration(SA-202-S10))
I found that:
To view the current swap space allocation, complete the following steps:
1. List a summary of the system's... (5 Replies)
Discussion started by: sluge
5 Replies
5. Solaris
I shared from linux server a dir with nfs3,solaris mount
ok,and can tar files,but if i do ls or cp..
on mnt i have mount the nfs share
root@solaris: mnt $ touch 2
root@solaris: mnt $ ls -lh
ls: can't read ACL on .: Permission denied
root@solaris: mnt $ ls
1.tar
2
root@solaris: mnt $ cp... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies
6. Solaris
Hi all,
After deleting some large log files on solaris 9 machine I can see strange df output shows below
/dev/vx/dsk/rootvol 45G 16384E 50G 39879076698694% /
I thought it will back to normal once I restart it but did not. I have seen in sunsolve article 6362734 that "Solaris 8... (0 Replies)
Discussion started by: rajashekar333
0 Replies
7. IP Networking
Hi folks
how can this be explained?
Cheers
Spacerat
----
tom@jumpstart:~$ cat /etc/resolv.conf
domain acceleris.ch
nameserver 192.168.21.230
tom@jumpstart:~$ nslookup Google 192.168.21.230
Server: 192.168.21.230
Address: 192.168.21.230#53
Non-authoritative answer:... (2 Replies)
Discussion started by: Spacerat
2 Replies
8. Solaris
hi, in solaris 10 SUN SPARC V245 server the following df -h output is showing . can i reuse the following disk space by deleting them
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
20G 5.2G 14G 27% /platform/sun4u-us3/lib/libc_psr.so.1... (2 Replies)
Discussion started by: phani.madiraju
2 Replies
9. Solaris
Hi ,
I faced a very strange problem when I unzip a zip file on my solaris workstation. Actually I wanted to transfer a folder, say it TEST which contains some sub-folders inside it from windows to solaris machine. So I zipped this folder to TEST.ZIP on my windows machine.
Then from my... (11 Replies)
Discussion started by: Raj Kumar Arora
11 Replies
10. Solaris
Hi all,
Thanks for any replies and for reading in advance.
We have upgraded one of our database instances to 10g on a Solaris 8 box, anyhow the other day it started trying to ping loads of weird IP addresses that we don't use, since our systems all run on pretty similar IP's. It all behind... (0 Replies)
Discussion started by: B14speedfreak
0 Replies
poolstat(1M) poolstat(1M)
NAME
poolstat - report active pool statistics
SYNOPSIS
poolstat [-p pool-list] [-r rset-list] [interval [count]]
poolstat [-p pool-list] [-o format -r rset-list] [interval [count]]
The poolstat utility iteratively examines all active pools on the system. It reports statistics based on the selected output mode. poolstat
provides options to examine only specified pools and report resource set-specific statistics.
Without options, poolstat examines all pools, reports basic statistics for their resource sets, and exits.
DISPLAY FORMATS
In default output format, poolstat outputs a header line and a line for each pool. The line begins with the pool ID and its name, followed
by a column of statistical data for the processor set attached to the pool.
The columns are defined as follows:
id Pool ID.
pool Pool name.
rid Resource set id.
rset Resource set name.
type Resource set type.
min Minimum resource set size.
max Maximum resource set size.
size Current resource set size.
used The measure of how much of the resource set is currently is use. This is calculated as the percentage utilization of the
resource set multiplied by its size. If resource set has been reconfigured during last sampling interval, this value might
be not reported (-).
load The absolute representation of the load that is put on the resource set. For the definition of this property see
libpool(3LIB).
The following options are supported:
-o format Report statistics according to the format specification given in format. See DISPLAY FORMATS.
The -o option accepts lists as arguments. Items in a list can be either separated by commas or enclosed in quotes and sepa-
rated by commas or spaces.
You can specify multiple -o options. The format specification is interpreted as the whitespace separated concatenation of
all the format option arguments.
The -o option must be used in conjunction with the -r option.
-p pool-list Report only pools whose names are in the given list. If the -r option is also used, this option selects only resource sets
which belong to pools in the given list. Statistics for pools or resource sets are reported in the same order in which pool
names are listed on the pool-list. Pool can be specified by name or by ID.
The -p option accepts lists as arguments. Items in a pool-list can only be separated by spaces.
-r rset-list Report resource set statistics. If the rset-list argument is "all", then all possible resource set types are selected.
The -r option accepts lists as arguments. Items in a list can be either separated by commas or enclosed in quotes and sepa-
rated by commas or spaces.
The following resource set types are supported:
all All resource set types
pset Processor set
The following operands are supported:
count The number of times that the statistics are repeated. By default, poolstat reports statistics only once.
If neither interval nor count are specified, statistics are reported once. If interval is specified and count is
not, statistics are reported indefinitely.
interval The sampling interval in seconds.
If neither interval nor count are specified, statistics are reported once. If interval is specified and count is
not, statistics are reported indefinitely.
Example 1: Using poolstat
The following example shows the default output from the poolstat utility:
% poolstat
pset
id pool size used load
0 pool_default 4 3.6 6.2
1 pool_admin 4 3.3 8.4
Example 2: Reporting Resource Set Statistics
The following example reports resource set statistics.
% poolstat -r pset
id pool type rid rset min max size used load
0 pool_default pset -1 pset_default 1 65K 2 1.2 8.3
1 pool_admin pset 1 pset_admin 1 1 1 0.4 5.2
2 pool_other pset -1 pset_default 1 65K 2 1.2 8.3
Resource sets attached to multiple pools, as pset_default in the example above, are listed multiple times, once for each pool.
Example 3: Restricting the Output to the List of Pools
The following example restricts the output to the list of pools
% poolstat -p pool_default
pset
id pool size used load
0 pool_default 8 5.3 10.3
% poolstat -p 'pool_admin pool_default'
pset
id pool size used load
1 pool_admin 6 4.3 5.3
0 pool_default 2 1.9 2.0
% poolstat -r all -p 'pool_admin pool_default'
id pool type rid rset min max size used load
1 pool_admin pset 1 pset_admin 1 1 1 0.9 2.3
2 pool_default pset -1 pset_default 1 65K 2 2.0 2.0
Example 4: Customizing Output
The following example customizes output:
% poolstat -r -o pool,rset,size,load
pool rset size load
pool_default pset_default 4 4.5
pool_admin pset_admin 4 2.1
The following exit values are returned:
0 Successful completion.
1 An error occurred.
2 Invalid command line options were specified.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpool |
+-----------------------------+-----------------------------+
|Stability |Evolving |
+-----------------------------+-----------------------------+
libpool(3LIB), attributes(5)
The system ids associated with resources can change after the system reboots or the resource configuration is altered.
15 Feb 2005 poolstat(1M)