[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Hobbit client OS support issues



As far a df goes there are really no options to do this You can look for fs types but there are several valid ones.
In BB I just grepped
df -Pk | grep ^/dev
Actual the two I listed are lofs ; automounted on the system itselt ,loopback .


Ive attached  client/tmp/msg.txt

Aslo note Ive built a Sol 2.8 client with no problem .

Henrik Stoerner wrote:

On Tue, Aug 09, 2005 at 10:26:16AM -0400, Michael Nemeth wrote:


OK with the latest snapshot 09-Aug-2005 Im able to compile on:
Solaris 2.6 with no issues,
hp11 with no issues except changing CC=cc to CC=gcc



Great.



hp1020 issue: the -lnsl flag , library not found. I tried -lresolv no luck . I removed both and it compiled; is this OK does the client
use this?



If it compiles OK, then it isn't needed. All library dependencies are resolved at compile/link time.



At this time I cannot test if they  actually work except for hpux 11.

With hpux 11 client two issues:
the network I/O graph stopped working . Stop working after a snapshot from last week. Looks like it worked with 4.1.1.
I tried stopping hobbit and removing the rrd with no luck.



Please send me a copy of the client/tmp/msg.txt from this client. I did some work on the netstat parser, so it is quite possible that I broke something - having a sample of the input data makes testing a lot easier.



Next is not a big issue yet (it may/should be on my Classed side where clearcase runs)
Disk is picking automounts:
/sw1/usr/local 4183116 4010394 172722 96% /usr/local this is an automount



OK, I need your expertise here: As you can see in the hobbiclient-hpux.sh script, it runs the command "df -Pk" to get the df data. What options can be added to the df command line to avoid picking up these mounts ?


Regards, Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk






--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth
| ___| |_____ email(w) michael.nemeth (at) lmco.com Work: 856 359-1425 |><___________) | Home Page:http://www.geocities.com/mjnemeth/
| Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


client faraday.hp-ux
[date]
Tue Aug  9 14:12:37 EDT 2005
[uname]
HP-UX faraday B.11.00 A 9000/820 2004833837 two-user license
[uptime]
  2:12pm  up 80 days,  2:21,  2 users,  load average: 0.00, 0.03, 0.10
[who]
nemethm    pts/0        Aug  9 08:13
nemethm    pts/1        Aug  9 08:27
[df]
Filesystem          1024-blocks  Used  Available Capacity Mounted on
scorpion:/home04      8346040  6797032  1549008    82%   /orts/dev
scorpion:/home04      8346040  6797032  1549008    82%   /orts99
/sw2/rat1020          4122855  2977427  1145428    73%   /opt/rat1020
/sw1/usr/local        4183116  4010394   172722    96%   /usr/local
/home02/nemethm       4138932  3614922   524010    88%   /home/nemethm
/dev/vg00/lvol4       19539     5144    14395    27%   /home00
/dev/vg01/lvol2       4106336  2620740  1485596    64%   /home01
/dev/vg01/lvol3       4138932  3614922   524010    88%   /home02
/dev/vg00/lvol5       655360   655360        0   100%   /opt
/dev/vg01/lvol0       4183116  4010394   172722    96%   /sw1
/dev/vg01/lvol1       4122855  2977427  1145428    73%   /sw2
/dev/vg00/lvol6       73308     1387    71921     2%   /tmp
/dev/vg00/lvol7       932902   794709   138193    86%   /usr
/dev/vg00/lvol8       900844   809639    91205    90%   /var
/dev/vg00/lvol1       86130    24614    61516    29%   /stand
/dev/vg00/lvol3       120078    77361    42717    65%   /
[memory]
Total:768
Free:400
[swapinfo]
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev         512       0     512    0%       0       -    1  /dev/vg00/lvol2
reserve       -     204    -204
total       512     204     308   40%       -       0    -
[netstat]
tcp:
	137681873 packets sent
		135286517 data packets (1328373097 bytes)
		3445 data packets (3181725 bytes) retransmitted
		2260088 ack-only packets (235249 delayed)
		949 URG only packets
		3287 window probe packets
		322 window update packets
		3416349 control packets
	75515798 packets received
		68734063 acks (for 1328239426 bytes)
		1738044 duplicate acks
		0 acks for unsent data
		3159983 packets (4015291857 bytes) received in-sequence
		0 completely duplicate packets (0 bytes)
		1 packet with some dup, data (128 bytes duped)
		8241 out of order packets (25559422 bytes)
		0 packets (0 bytes) of data after window
		72 window probes
		4261434 window update packets
		134403 packets received after close
		0 segments discarded for bad checksum
		0 bad TCP segments dropped due to state change
	820108 connection requests
	756038 connection accepts
	1576146 connections established (including accepts)
	1602193 connections closed (including 26051 drops)
	24741 embryonic connections dropped
	67194764 segments updated rtt (of 67194764 attempts)
	106862 retransmit timeouts
		20843 connections dropped by rexmit timeout
	3287 persist timeouts
	1316 keepalive timeouts
		362 keepalive probes sent
		2 connections dropped by keepalive
	0 connect requests dropped due to full queue
	6986 connect requests dropped due to no listener
udp:
	0 incomplete headers
	1509 bad checksums
	0 socket overflows
ip:
	80156670 total packets received
	0 bad IP headers
	6528 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 packets forwarded
	0 packets not forwardable
icmp:
	488765 calls to generate an ICMP error message
	0 ICMP messages dropped
	Output histogram:
	 echo reply: 143944
	 destination unreachable: 344821
	 source quench: 0
	 routing redirect: 0
	 echo: 0
	 time exceeded: 0
	 parameter problem: 0
	 time stamp: 0
	 time stamp reply: 0
	 address mask request: 0
	 address mask reply: 0
	0 bad ICMP messages
	Input histogram:
	 echo reply: 280467
	 destination unreachable: 8124
	 source quench: 0
	 routing redirect: 0
	 echo: 143944
	 time exceeded: 0
	 parameter problem: 0
	 time stamp request: 0
	 time stamp reply: 0
	 address mask request: 5
	 address mask reply: 0
	143944 responses sent
igmp:
	114555 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	114555 membership queries received
	0 membership queries received with incorrect fields(s)
	0 membership reports received
	0 membership reports received with incorrect field(s)
	0 membership reports received for groups to which this host belongs
	0 membership reports sent
[ps]
     UID   PID  PPID  C    STIME TTY       TIME COMMAND
    root     0     0  0  May 21  ?         0:31 swapper
    root     1     0  0  May 21  ?         0:13 init
    root     2     0  0  May 21  ?         7:57 vhand
    root     3     0  0  May 21  ?        122:31 statdaemon
    root     4     0  0  May 21  ?         3:31 unhashdaemon
    root     8     0  0  May 21  ?         0:00 supsched
    root     9     0  0  May 21  ?         0:00 strmem
    root    10     0  0  May 21  ?         0:00 strweld
    root    11     0  0  May 21  ?         0:00 strfreebd
    root    12     0  0  May 21  ?        123:28 ttisr
    root    18     0  0  May 21  ?         0:11 lvmkd
    root    19     0  0  May 21  ?         0:12 lvmkd
    root    20     0  0  May 21  ?         0:12 lvmkd
    root    21     0  0  May 21  ?         0:11 lvmkd
    root    22     0  0  May 21  ?         0:12 lvmkd
    root    23     0  0  May 21  ?         0:11 lvmkd
    root    24     0  0  May 21  ?         0:00 lvmschedd
    root    25     0  0  May 21  ?         1:21 smpsched
    root    26     0  0  May 21  ?         1:23 smpsched
    root    27     0  0  May 21  ?         0:00 sblksched
    root    28     0  0  May 21  ?         0:00 sblksched
    root    29     0  0  May 21  ?         0:00 lvmdevd
    root  9729     1  0 08:47:08 console   0:00 /usr/sbin/getty console console
    root   837     1  0  May 21  ?         0:00 /usr/sbin/rpc.lockd
    root   820     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root    34     0  0  May 21  ?        64:33 vxfsd
    root    49     0  0  May 21  ?         0:00 lvmdevd
    root   701     1  0  May 21  ?         0:37 /usr/sbin/rpcbind
    root   817     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   706     0  0  May 21  ?         0:00 nfskd
    root   558     1  0  May 21  ?         0:00 /usr/sbin/ptydaemon
    root   822     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   815     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   759     1  0  May 21  ?         0:00 /usr/sbin/keyserv
    root   818     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   577     1  0  May 21  ?         0:00 /usr/lbin/nktl_daemon 0 0 0 0 0 1 -2 0
    root   549     1  0  May 21  ?         0:11 /usr/sbin/syslogd -D
 nemethm  1958  1951  0 08:13:25 pts/0     0:00 -ksh
    root   379     1  0  May 21  ?        45:19 /usr/sbin/syncer
    root   590     1  0  May 21  ?         0:00 /usr/lbin/ntl_reader 0 1 1 1 1000 /var/adm/nettl /var/adm/co
    root  3830  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root   591   590  0  May 21  ?        19:57 /usr/sbin/netfmt -C -F -f /var/adm/nettl.LOG00 -c /var/adm/c
    root  1272     1  0  May 21  ?         0:11 /usr/sbin/snmpdm
    root   738     1  0  May 21  ?        48:18 /usr/lib/netsvc/yp/ypserv
    root   754     1  0  May 21  ?         0:00 /usr/lib/netsvc/yp/rpc.ypupdated
    root   819     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   744     1  0  May 21  ?         0:00 /usr/sbin/ypxfrd
    root   749     1  0  May 21  ?         0:00 /usr/lib/netsvc/yp/rpc.yppasswdd /etc/passwd -m passwd PWFIL
    root   816     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   777     1  0  May 21  ?         0:00 /usr/lib/netsvc/yp/ypbind
    root   821     1  0  May 21  ?         0:00 /usr/sbin/biod 8
    root   847     1  0  May 21  ?         0:44 /usr/lib/netsvc/fs/autofs/automountd
    root   831     1  0  May 21  ?        14:12 /usr/sbin/rpc.statd
    root   850     0  0  May 21  console   2:59 autofs_proc
    root  1250     1  0  May 21  ?         8:44 sendmail: accepting connections on port 25
    root  3818  3817  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  1404     1  0  May 21  ?         0:02 /usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daem
    root  1393     1  0  May 21  ?         0:02 /usr/sbin/rbootd
    root   902     1  0  May 21  ?         0:01 /usr/sbin/inetd
 nemethm  1684 10358  0 14:12:37 ?         0:00 bbtest-net --report --ping --checkresponse
    root  1300     1  0  May 21  ?         0:12 /usr/sbin/hp_unixagt
 nemethm  1690  1685  1 14:12:37 ?         0:00 /bin/sh /home/nemethm/hobbit/client/bin/hobbitclient-hp-ux.s
    root  1324     1  0  May 21  ?         0:00 /usr/sbin/trapdestagt
    root  1519     1  0  May 21  ?         0:00 /usr/sbin/cron
    root  1425     1  0  May 21  ?        15:37 /usr/sbin/xntpd
      lp  1527  1492  0  May 21  ?         0:00 /usr/sbin/lpsched
    root  1371     1  0  May 21  ?        17:24 /opt/dce/sbin/rpcd
    root  1540     1  0  May 21  ?         0:00 /usr/sbin/envd
    root  1616     1  0  May 21  ?        11:38 /opt/hpnp/bin/hpnpd
 nemethm 10365 10358  0 09:05:48 ?         0:00 hobbitd_channel --channel=data --log=/home/nemethm/hobbitlog
    root  1455     1  0  May 21  ?        12:36 /usr/sbin/pwgrd
    root  3820  3817  0  Jul  5  ?         0:11 /usr/sbin/nfsd 16
 nemethm 10358     1  0 09:05:43 ?         0:02 /home/nemethm/hobbit/server/bin/hobbitlaunch --config=/home/
      lp  1492     1  0  May 21  ?         2:05 /usr/sbin/lpsched
 nemethm 10361 10358  0 09:05:48 ?         0:00 hobbitd_channel --channel=stachg --log=/home/nemethm/hobbitl
    root  1638  1628  0  May 21  ?         0:21 /opt/networker/bin/nsrexecd
    root  1582     1  0  May 21  ?         4:16 /usr/sbin/swagentd -r
     www 26078 26054  0  Jun 24  ?        10:24 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
      lp  1535  1527  0  May 21  ?         0:00 /usr/bin/sh /etc/lp/interface/hplj534b hplj534b-48 nemethm  
    root  1628     1  0  May 21  ?         0:03 /opt/networker/bin/nsrexecd
      lp  1539  1535  0  May 21  ?         0:45 /usr/sbin/rlp -Ihplj534b-48 /var/spool/lp/request/hplj534b/d
    root  3828  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  4392     1  0  May 25  ?         1:36 /opt/Tivoli/lcf/bin/hpux10/mrt/lcfd
 nemethm  1660     1  0 14:07:45 ?         0:00 sh -c vmstat 300 2 1>/home/nemethm/hobbit/client/tmp/hobbit_
     www 26079 26054  0  Jun 24  ?        10:25 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
 nemethm 10364 10358  0 09:05:48 ?         0:04 hobbitd_channel --channel=status --log=/home/nemethm/hobbitl
 nemethm 10378 10366  0 09:05:49 ?         0:01 hobbitd_client
    root  3821  3817  0  Jul  5  ?         0:11 /usr/sbin/nfsd 16
     www 26061 26054  0  Jun 24  ?         2:35 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
 nemethm 10359 10358  0 09:05:43 ?         0:07 hobbitd --pidfile=/home/nemethm/hobbitlog//hobbitd.pid --res
    root  3819  3817  0  Jul  5  ?         0:11 /usr/sbin/nfsd 16
    root 26054     1  0  Jun 24  ?         6:42 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
    root  3801     1  0  Jul  5  ?         0:01 /usr/sbin/rpc.mountd
    root 17858   902  0  Jun 19  ?         0:01 bootpd
 nemethm  1685 10358  0 14:12:37 ?         0:00 /bin/sh /home/nemethm/hobbit/client/bin/hobbitclient.sh
 nemethm 10366 10358  0 09:05:48 ?         0:01 hobbitd_channel --channel=client --log=/home/nemethm/hobbitl
    root  3823  3817  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  3825  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  3824  3817  0  Jul  5  ?         0:11 /usr/sbin/nfsd 16
 nemethm  2711  2709  0 08:27:08 pts/1     0:00 -ksh
 nemethm 10376 10363  0 09:05:49 ?         0:00 hobbitd_alert
    root  3822  3817  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  3812     1  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  3826  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
 nemethm  1746  1684  1 14:12:38 ?         0:00 sh -c ntpdate -u -q -p 2 129.204.177.10 2>&1
    root  3833  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  3831  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
    root  2709   902  0 08:27:07 pts/1     0:00 rlogind -B /etc/issue
 nemethm  1662  1660  0 14:07:45 ?         0:00 vmstat 300 2
    root  3817  3812  0  Jul  5  ?         0:11 /usr/sbin/nfsd 16
    root  3837     1  0  Jul  5  ?         0:00 /usr/sbin/rpc.pcnfsd
    root  3835  3812  0  Jul  5  ?         0:12 /usr/sbin/nfsd 16
 nemethm 10372 10364  0 09:05:48 ?         0:06 hobbitd_larrd --rrddir=/home/nemethm/hobbit/data/rrd
 nemethm  1789  1690  5 14:12:40 ?         0:00 ps -ef
 nemethm  1748  1746  0 14:12:38 ?         0:00 ntpdate -u -q -p 2 129.204.177.10
 nemethm 10363 10358  1 09:05:48 ?         0:01 hobbitd_channel --channel=page --log=/home/nemethm/hobbitlog
 nemethm  1686 10358  9 14:12:37 ?         0:00 /bin/sh /home/nemethm/hobbit/server/ext/hpjd.sh
 nemethm 10379 10365  0 09:05:49 ?         0:00 hobbitd_larrd --rrddir=/home/nemethm/hobbit/data/rrd
 nemethm 10370 10362  0 09:05:48 ?         0:00 hobbitd_filestore --enadis
 nemethm 10373 10361  0 09:05:48 ?         0:00 hobbitd_history
    root  1951   902  0 08:13:24 pts/0     0:02 rlogind -B /etc/issue
 nemethm 10362 10358  0 09:05:48 ?         0:00 hobbitd_channel --channel=enadis --log=/home/nemethm/hobbitl
 nemethm  1790  1686  5 14:12:40 ?         0:00 /opt/hpnpl/bin/hpnpadmin -ESsn 129.204.180.161
[top]
System: faraday Tue Aug  9 14:12:45 2005
Load averages: 0.15, 0.06, 0.11
120 processes: 114 sleeping, 6 running
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    0.15   0.4%   0.0%   1.2%  98.4%   0.0%   0.0%   0.0%   0.0% 
 1    0.15   0.6%   0.0%   1.8%  97.6%   0.0%   0.0%   0.0%   0.0% 
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   0.15   0.6%   0.0%   1.6%  97.8%   0.0%   0.0%   0.0%   0.0% 

Memory: 156744K (17336K) real, 156468K (22812K) virtual, 414468K free  Page# 1/8

CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 0   ?    34 root     152 20   928K     0K run     64:33  1.23  1.23 vxfsd
 1   ?  1686 nemethm  154 20  1976K   340K sleep    0:00  3.16  1.04 sh
 0   ? 26078 www      152 20 15788K  5284K run     10:24  0.70  0.70 httpd
 0   ? 26079 www      152 20 15788K  5248K run     10:25  0.56  0.56 httpd
 1   ?  1793 nemethm  154 20  3620K   364K sleep    0:00  2.93  0.28 hpnpadmin
 0   ?  1690 nemethm  158 20  1944K   308K sleep    0:00  0.64  0.21 sh
 1   ?  1685 nemethm  158 20  1944K   308K sleep    0:00  0.52  0.17 sh
 1   ?     3 root     128 20    16K     0K sleep  122:31  0.16  0.16 statdaemon
 1   ? 10372 nemethm  154 20  5040K   372K sleep    0:06  0.15  0.15 hobbitd_larrd
 1   ? 10364 nemethm  156 20  2236K   484K sleep    0:04  0.15  0.15 hobbitd_channel
 1   ?    12 root     -32 20    16K     0K sleep  123:28  0.14  0.14 ttisr
 1   ? 10359 nemethm  154 20  5484K   700K sleep    0:07  0.13  0.13 hobbitd
 0   ? 10363 nemethm  156 20  2204K   448K sleep    0:01  0.09  0.09 hobbitd_channel
 1   ?  1791 nemethm  178 20  2572K   256K run      0:00  0.37  0.08 top
 1   ?   379 root     154 20  1636K   148K sleep   45:19  0.06  0.06 syncer
 1   ? 10365 nemethm  156 20  2204K   448K sleep    0:00  0.06  0.06 hobbitd_channel
[vmstat]
         procs           memory                   page                              faults       cpu
    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id
    0     0     0     5600  103453    5    2     0    0     2    0     0      0    120   121   4  4 92
    0     0     0     5703  103677  119   27     0    0    39    0     0    458   4588   129   1  1 99