09-16-2010
Hi lamou23,
You may want to use ptree. I suggest you man ptree, if not familiar with command.
I hope this is of help.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
snmpwalk -v1 -c myname {ip address} dskPercent.
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UCD-SNMP-MIB::dskPercentNode
snmpget -v1 -c myname {ip address} dskPercent.1
Error in packet
Reason: (noSuchName) There is no such variable... (0 Replies)
Discussion started by: ynilesh
0 Replies
2. Solaris
Hi everyone,
I'm configuring Net-SNMP v5.4 on Solaris 10, sending traps to OpenNMS 1.2.9-0.20061212.0. I'm setting up disk monitoring (% of space free) for 5 directories. Here's what I'm working with:
(snmpd.conf - disk and monitoring portions)
#
# Disk Usage monitoring:
#
disk / 20%... (0 Replies)
Discussion started by: Mariognarly
0 Replies
3. Shell Programming and Scripting
can somoene please tell me how to tell snmpwalk how many seconds it has to timeout?
i searched the web for this but i can't find it.
i'm incorporating this into a script, and I'd like to have snmpwalk timeout within a certain amount of seconds.
the -t option doesn't seem to work because... (1 Reply)
Discussion started by: SkySmart
1 Replies
4. UNIX for Dummies Questions & Answers
what is the simplest command to check if a server already reached it's maximum connection? ( regardless if it's database, mail, etc).
system: solaris (9/20)
machine: sparc/x86
thanks,
larey (5 Replies)
Discussion started by: lhareigh890
5 Replies
5. AIX
We are using net-snmp on AIX 5.3 TL12 with CACTi for monitoring. Recently we are facing a problem. When we start net-snmp the snmpwalk to the localhost is working. But after a few minutes the snmpwalk gives a timeout to localhost. The snmp process is running.
We recently upgraded the TL on the... (1 Reply)
Discussion started by: wibhore
1 Replies
6. UNIX for Dummies Questions & Answers
I am using a line of code that I borrowed from someone else's script, in a script to monitor changes in my local network. It works but it takes too long to pick up the changes.
snmpwalk -v 2c -c PASSWORD -Oq 10.0.1.1 RFC1213-MIB::atPhysAddress
The snmp server is my apple router. If I monitor... (7 Replies)
Discussion started by: chancho
7 Replies
7. AIX
Hi Admins,
I am new member here.
I am using IAX 5.3 trying to configure snmpv3.
Conf file /etc/snmpdv3.conf contents given below
VACM_GROUP group1 SNMPv1 public -
VACM_GROUP group1 SNMPv1 sbmviking -
VACM_VIEW defaultView internet - included -... (0 Replies)
Discussion started by: newaix
0 Replies
8. UNIX for Dummies Questions & Answers
Hi
when I do the SNMPwalk, it doesn't seem to work. Please advice what I am doing wrong?
On my snmpd.conf file, I have this.
rocommunity badboy xx.x.x.x # Traverse Server
Also I have MIB files under /usr/share/snmp/mibs
# service snmpd status
snmpd (pid 23756)... (3 Replies)
Discussion started by: samnyc
3 Replies
ptree(1) ptree(1)
NAME
ptree - print process trees
SYNOPSIS
/usr/bin/ptree [-a] [-c] [-z zone] [pid | user] ...
ptree prints the process trees containing the specified pids or users, with child processes indented from their respective parent pro-
cesses. An argument of all digits is taken to be a process-id, otherwise it is assumed to be a user login name. The default is all pro-
cesses.
The following options are supported:
-a All. Print all processes, including children of process 0.
-c Contracts. Print process contract memberships in addition to parent-child relationships. See process(4). This option
implies the -a option.
-z zone Zones. Print only processes in the specified zone. Each zone ID can be specified as either a zone name or a numerical zone
ID.
This option is only useful when executed in the global zone.
The following operands are supported:
pid Process-id or a list of process-ids. ptree also accepts /proc/nnn as a process-id, so the shell expansion /proc/* can be
used to specify all processes in the system.
user Username or list of usernames. Processes whose effective user IDs match those given are displayed.
Example 1: Using ptree
The following example prints the process tree (including children of process 0) for processes which match the command name ssh:
$ ptree -a `pgrep ssh`
1 /sbin/init
100909 /usr/lib/ssh/sshd
569150 /usr/lib/ssh/sshd
569157 /usr/lib/ssh/sshd
569159 -ksh
569171 bash
569173 /bin/ksh
569193 bash
The following exit values are returned:
0 Successful operation.
non-zero An error has occurred.
/proc/* process files
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
|Interface Stability |See below. |
+-----------------------------+-----------------------------+
The human readable output is Unstable. The options are Evolving.
gcore(1), ldd(1), pargs(1), pgrep(1), pkill(1), plimit(1), pmap(1), preap(1), proc(1), ps(1), ppgsz(1), pwd(1), rlogin(1), time(1),
truss(1), wait(1), fcntl(2), fstat(2), setuid(2), dlopen(3C), signal.h(3HEAD), core(4), proc(4), process(4), attributes(5), zones(5)
11 Oct 2005 ptree(1)