[
There are 4 "wait" commands and it occupies like 50 % of CPU, as showed by ps aux
Please help me killing these wait process, as they are not real processes. Help would be greatly appreciated. Server performance is very poor, even login takes hell lotta time.
Moderator's Comments:
edit by bakunin: which part of "please use CODE-tags" was so hard to understand?
Does anyone know what the equivalent command to pwait on Solaris is on DG/UX. I need my script to kick off a process and wait till it is complete before continuing with the script. (4 Replies)
Hi,
is-it normal to have 86% of CPU for wait commande :
ps aux| head -20
UTIL PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 516 86,6 0,0 12 12 - A 02 nov 2088:03 wait
oralfa01 54422 4,6 1,0 68044 39868 - A 09:20:06 2:27 oracleALFA01
If... (3 Replies)
Did not use 'wait' yet.
How I understand by now the wait works only for child processes, started background.
Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?)
I need to start a background process, witch will be waiting... (2 Replies)
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Hi,
I collect statistics with nmon. I'm very suprised about % wait of processor.
Number Of Processors: 4
Processor Clock Speed: 4204 MHz
Do U have an idea about % wait ?
│ 0----------25-----------50----------75----------100 ... (1 Reply)
Hi All,
I have two ksh script. 1st script calls the 2nd script and the second script calls an 'C' program.
I want 1st script to wait until the 'C' program completes.
I cant able to get the process id for the 'C' program (child process) to make the 1st script to wait for the second... (7 Replies)
HI All
Am on Sun OS.While trying to start a process , we could see that the port is idle and we are not able to find the process holding that port.
Below is the result we get after using netstat command. lsof command is not yet installed in our machine.
netstat -a | grep "port no"... (5 Replies)
Hi ,
In a server /tmp has almost reached 75% and i can see the File system utilization is 48Mb only , so i believe some process is using the /tmp space. I would like to know which process is using /tmp space.
# df -h /tmp
Filesystem size used avail capacity Mounted on
swap ... (9 Replies)
Hi,
I can't seem to make sense of this. My wait time is showing really high but vmstat's and topas are showing normal usage.
ps aux
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 9961810 5680.7 0.0 448 384 - A Dec 16 6703072:12 wait
... (2 Replies)
Hello All,
The system concerned has multiple processes communicating with each other using shared memory. These processes use semaphores to protect data being used amongst them. The "key" would uniquely identifies the particular semaphore corresponding to a resource for the various processes.
... (2 Replies)
Discussion started by: saptarshi
2 Replies
LEARN ABOUT CENTOS
strongimcv_pki---gen
PKI --GEN(1) strongSwan PKI --GEN(1)NAME
pki --gen - Generate a new RSA or ECDSA private key
SYNOPSIS
pki --gen [--type type] [--size bits] [--safe-primes] [--shares n] [--threshold l] [--outform encoding] [--debug level]
pki --gen --options file
pki --gen -h | --help
DESCRIPTION
This sub-command of pki(1) is used to generate a new RSA or ECDSA private key.
OPTIONS -h, --help
Print usage information with a summary of the available options.
-v, --debug level
Set debug level, default: 1.
-+, --options file
Read command line options from file.
-t, --type type
Type of key to generate. Either rsa or ecdsa, defaults to rsa.
-s, --size bits
Key length in bits. Defaults to 2048 for rsa and 384 for ecdsa. For ecdsa only three values are currently supported: 256, 384 and
521.
-p, --safe-primes
Generate RSA safe primes.
-f, --outform encoding
Encoding of the generated private key. Either der (ASN.1 DER) or pem (Base64 PEM), defaults to der.
RSA Threshold Cryptography
-n, --shares <n>
Number of private RSA key shares.
-l, --threshold <l>
Minimum number of participating RSA key shares.
PROBLEMS ON HOSTS WITH LOW ENTROPY
If the gmp plugin is used to generate RSA private keys the key material is read from /dev/random (via the random plugin). Therefore, the
command may block if the system's entropy pool is empty. To avoid this, either use a hardware random number generator to feed /dev/random
or use OpenSSL (via the openssl plugin or the command line) which is not as strict in regards to the quality of the key material (it reads
from /dev/urandom if necessary). It is also possible to configure the devices used by the random plugin in strongswan.conf(5). Setting
libstrongswan.plugins.random.random to /dev/urandom forces the plugin to treat bytes read from /dev/urandom as high grade random data, thus
avoiding the blocking. Of course, this doesn't change the fact that the key material generated this way is of lower quality.
EXAMPLES
pki --gen --size 3072 > rsa_key.der
Generates a 3072-bit RSA private key.
pki --gen --type ecdsa --size 256 > ecdsa_key.der
Generates a 256-bit ECDSA private key.
SEE ALSO pki(1)5.1.1 2013-07-31 PKI --GEN(1)