Hi ,
I need to count all processes contains the pattren "FND"
For Example:
I was reteriving the details of all processes related to "FND" by this command
$ ps -ef | grep FND
but now I just wanna count them .
Regards
Adel (2 Replies)
I have written a function that fills an array and another function where if a parameter is supplied it will jump to that part of the array and cat it to the screen.
I need to put in some checks to make sure the parameter supplied is firstly a number and then not a number great than the length of... (2 Replies)
I need a mechanism to fork child processes and all child processes should connect to a server.but the number of child processes should be limited(for ex:50)
Here's my pseudo, but I cant figure out how to limit the child process number. Should I use a semaphore? or what?
for(;;)... (3 Replies)
Hi
Is there a way to count how many processes a script has started, count how many of these have finished, and make the script wait if their difference goes over a given threshold?
I am using a script to repeatedly execute a code (~100x) which converts 2 data files into one .plt which is in... (4 Replies)
Hey I'm new in linux,
I'm looking for a code to check whether the parameter is a number or a string.
I have already tried this code:
eerste=$(echo $1 | grep "^*$">aux)
if
But it doesn't work.:confused:
Thanks (2 Replies)
Hi,
Is there a maximum number of processes kernel parameter in AIX.
Solaris has max_nprocs,
HP-UX has nproc,
I can only find max user process (maxuproc) for AIX.
Thanks,
Wilson. (3 Replies)
Morning,
Somebody can tell me in AIX 6.1 what is the different between the maxuproc (lsattr -El sys0 | grep max) and the for a user.
Example:
Oracle is limited by :
#ulimit -u
processes(per user) unlimited
But lsattr -El sys0| grep maxuproc show me :
maxuproc 16384
So... (1 Reply)
// AIX 6.1 & Power 7 server
I have maxuproc set to 16384.
lsattr -El sys0 -a maxuproc
maxuproc 16384 Maximum number of PROCESSES allowed per user True
What is the maximum number of maxuproc we can go for?
If I increase maxuproc to the higher number, what would be ramifications?
I... (1 Reply)
Hi Guys,
I am running RHEL6 and now my processes reach maximum limit.
How do I increase the maxuproc value?
Can I increase the value without rebooting the server?
Thanks in advance...
Please Help!!! (5 Replies)
Discussion started by: Phuti
5 Replies
LEARN ABOUT HPUX
ptree
ptree(1) General Commands Manual ptree(1)NAME
ptree - prints the process tree hierarchy
SYNOPSIS
[pid1|username1 [pid2|username2]...]
DESCRIPTION
prints the process tree of all processes that match the specified arguments. While printing the tree, the child processes are indented to
the right from their respective parent processes.
Options
Prints the tree starting from the children of
(usually pid 0). The default is to print the tree starting from the children of (pid 1).
Operands
pid Print the process tree for the process ID number specified by pid.
username Print the process tree for all the processes from the user specified by username. Note that only username (and not user ID) can
be specified for this instance.
If no operands are specified, then prints the process tree of all processes starting from the children of or (if is specified).
EXTERNAL INFLUENCES
Environment Variables
If is not specified or is null, it defaults to (see lang(5)).
EXAMPLES
Print the process tree for pid 100 and for all processes owned by
WARNINGS
Process information can change while is running; the tree displayed by is only a snapshot in time. Some data printed for defunct processes
is irrelevant.
Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system and the release of
HP-UX.
SEE ALSO pgrep(1), pkill(1), ps(1), fork(2).
ptree(1)