Comands Solaris
mercoledì 27 gennaio 2010
ps

The following table summarizes the main options used with ps.
Option Description
–a Lists most frequently requested processes
–A, –e List all processes
–c Lists processes in scheduler format
–d Lists all processes
–f Prints comprehensive process information
–g Prints process information on a group basis for a single group
–G Prints process information on a group basis for a list of groups
–j Includes SID and PGID in printout
–l Prints complete process information
–L Displays LWP details
–p Lists process details for list of specified processes
–P Lists the CPU ID to which a process is bound
–s Lists session leaders
–t Lists all processes associated with a specific terminal
–u Lists all processes for a specific user


kill
The following table summarizes the main signals used to communicate with processes
using kill.
Signal Code Action Description
SIGHUP 1 Exit Hangup
SIGINT 2 Exit Interrupt
SIGQUIT 3 Core Quit
SIGILL 4 Core Illegal instruction
SIGTRAP 5 Core Trace
SIGABRT 6 Core Abort
SIGEMT 7 Core Emulation trap
SIGFPE 8 Core Arithmetic exception
SIGKILL 9 Exit Killed
SIGBUS 10 Core Bus error
SIGSEGV 11 Core Segmentation fault
SIGSYS 12 Core Bad system call
SIGPIPE 13 Exit Broken pipe
SIGALRM 14 Exit Alarm clock
SIGTERM 15 Exit Terminate

pgrep
The pgrep command is used to search for a list of processes whose names match apattern specified on the command line. The command returns a list of corresponding

For example,
$ kill –9 `pgrep apache`

USERADD

for example:
useradd -d /export/home/m171c0 -m -s /bin/bash -c "Domenico" domenico

Plattaform
/usr/platform/`uname -i`/sbin/prtdiag -v

Memory Size
/usr/sbin/prtconf | grep "Memory size"


gzip –9

compress

compress backup.tar
uncompress backup.tar.Z
postato da Eduardo Kislanski @ 19:36  

0 Commenti:

Posta un commento

<< Home page

Le mie foto
Nome:
Località: Milano, Italy
Visit the Official Spider-Man Site
Post precedenti

Powered by Solaris

MARVEL and SPIDER-MAN: TM & © 2007 Marvel Characters, Inc. Motion Picture © 2007 Columbia Pictures Industries, Inc. All Rights Reserved. © 2007 Sony Pictures Digital Inc. All rights reserved.