06-12-2009
Unfortunately I doubt seriously...
All I can think of for tweeking stuff process related is lsof, pipcs, or using a debugger such as adb, wdb or gdb...
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi...
I have planned to run UNIX application in window environment such as cygwin. Actually, I have download the "cygwin" software but there are some libraries are not applicable in the software.
Due to that, anybody know any others unix sofware can be run in windows XP environment ? (1 Reply)
Discussion started by: bh_hensem
1 Replies
2. UNIX for Advanced & Expert Users
Hi Everybody,
I want to create a shell script named as say "jip" and it is runned.
And i want that when i do ps + grep for the process than this jip should be shown as process.
Infact there might be process with name jip which is already running. (3 Replies)
Discussion started by: shambhu
3 Replies
3. Programming
Suppose that I have an environment variable (call it "EVAR") that I set before running a process (call it "myproc"). "myproc" is run multiple times by multiple users and each may set "EVAR" differently. I.E.:
UserA:
export EVAR=v1
myproc
UserB:
export EVAR=v2
myproc
Now "myproc" is... (3 Replies)
Discussion started by: DreamWarrior
3 Replies
4. AIX
Guys
I have an AIX 5.3 box.I am getting following messages if i try to switch to any non root user.
bash-3.00# su - sys
3004-505 Cannot set process environment.
bash-3.00# su - daemon
3004-505 Cannot set process environment.
bash-3.00# su - adm
3004-505 Cannot set process environment.... (4 Replies)
Discussion started by: ak835
4 Replies
5. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
6. UNIX for Dummies Questions & Answers
I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Discussion started by: saurabhnsit2001
2 Replies
7. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
9. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
10. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
pargs(1) User Commands pargs(1)
NAME
pargs - print process arguments, environment variables, or auxiliary vector
SYNOPSIS
pargs [-aceFlx] [pid | core] ...
DESCRIPTION
The pargs utility examines a target process or process core file and prints arguments, environment variables and values, or the process
auxiliary vector.
pargs outputs unprintable characters as escaped octal in the format xxx, unless the character is one of the characters specified in the
"Escape Sequences" section of formats(5), in which case the character is printed as specified in that section.
pargs attempts to be sensitive to the locale of the target process. If the target process and the pargs process do not share a common char-
acter encoding, pargs attempts to employ the iconv(3C) facility to generate a printable version of the extracted strings. In the event
that such a conversion is impossible, strings are displayed as 7-bit ASCII.
OPTIONS
The following options are supported:
-a Prints process arguments as contained in argv[] (default).
-c Treats strings in the target process as though they were encoded in 7-bit ASCII, regardless of the locale of the target. The use
of iconv(3C) is suppressed.
-e Prints process environment variables and values as pointed at by the _environ symbol or by pr_envp in /proc/pid/psinfo.
-F Force. Grabs the target process even if another process has control.
-l Displays the arguments as a single command line. The command line is printed in a manner suitable for interpretation by /bin/sh.
If the arguments contain unprintable characters, or if the target process is in a different locale, a warning message is dis-
played. The resulting command line may not be interpreted correctly by /bin/sh.
-x Prints process auxiliary vector.
OPERANDS
The following operands are supported:
pid Process ID list.
core Process core file.
EXIT STATUS
The following exit values are returned:
0 Successful operation.
non-zero An error has occurred (such as no such process, permission denied, or invalid option).
FILES
/proc/pid/* Process information and control files.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
proc(1), iconv(3C), proc(4), ascii(5), attributes(5), environ(5), formats(5)
SunOS 5.10 13 Apr 2004 pargs(1)