06-21-2008
sorry boss.. I overlooked.
In this case, you should grep for the process id and do a ptree.
A "pstack" and a "pfiles" on the last shell process will reveal which
process is waiting for input on the /dev/console device.
A workaround is to kill the stuck shell process, from a terminal
windows.
10 More Discussions You Might Find Interesting
1. Solaris
Some members asked about this way, click Here
u will find what u want (1 Reply)
Discussion started by: Sound Of Wisdom
1 Replies
2. Solaris
after install solaris x86 on my computer success, but it can't boot. When the machine start, and i choose option 1 - default, it shows "W" on screen and system restart .
Anyone can help me.
My computer : dual core - 1gb ram - x86 (7 Replies)
Discussion started by: quan0509
7 Replies
3. Solaris
Hi All
I want to confirm the installation of Sun Studio installation on my UNIX development server.
Please suggest how to get that.
Cheers,
Ankur (4 Replies)
Discussion started by: sharmaankur85
4 Replies
4. Solaris
http://www.unix.com/images/smilies/mad.gif
Hi, this is parameswar. I have two sun ultra 5/10 workstations processor is sparc IIi 440 and ram is 512 but without hard disk and cdrom so can i use seagate 40Gb and sony dvd writer which is presented in windows pc. Both are IDE cables.
while I... (1 Reply)
Discussion started by: parameswar
1 Replies
5. Programming
Hi all.
I'm trying to install Sun Studio on my Ubuntu 10.4 pc because
I wanna use X-Designer (it is a Motif GUI builder), that should be in that suite.
I downloaded the tar package build for linux and installed
the deps. Sun Studio and the Sun C Compiler work fine, but
i cannot find... (0 Replies)
Discussion started by: mghis
0 Replies
6. Solaris
Hello,
I cant get my blade box to boot off the harddrive after installing solaris 10.I can get to a root prompt after issuing "boot cdrom -s".I tried booting off disk0 and disk1,but I get "the file just loaded does not seem to be executable".Thanks for any help.:wall: (4 Replies)
Discussion started by: chucky
4 Replies
7. Solaris
I downloaded Solaris 10 OS on x86, SVR4 installer to my desktop and ran digest -a md5 on the downloaded file and the hash values matched. I then ran bunzip2 followed by pkgadd -d SolarisStudio12.3-solaris-x86-pkg and am getting the following error:
pkgadd: ERROR: attempt to process... (14 Replies)
Discussion started by: twk
14 Replies
8. Solaris
Hi everybody,
I'm having big troubles in installing Solaris 8 on a Sun Blade 150.
Here are some system specs:
Sun Blade 150 (UltraSPARC-IIe 550MHz)
RAM: 256MB
OBP 4.10.6 2003/06/06 12:30
POST 2.0.1 2001/08/23 17:13
When I try to boot from Solaris 8 CD with boot cdrom or... (10 Replies)
Discussion started by: Vortigern
10 Replies
9. Solaris
I had an issue installing Sun Ray Server 5.4.5 on Solaris 11.3, and was unable to find an answer. However, I was able to noodle through it and got things running.
So, for the benefit of the few that might be interested, here are the issues regarding installation of Sun Ray Server 5.4.5 on... (0 Replies)
Discussion started by: apljavaman
0 Replies
10. Solaris
I have a SunFire V445 running Solaris 10 and am adding a Sun DLT tape drive. From the OK prompt the probe-scsi-all does see the drive and it is the proper target of 4. When I do the boot -- -r it does build the /dev/rmt directories correctly and the links to /devices appear correct as well. When I... (8 Replies)
Discussion started by: chastings
8 Replies
LEARN ABOUT FREEBSD
ptree
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)