Comenzi utile UNIX

Afiseaza directorul curent

Sorteaza fisierele listate

ls -l /path to file | sort -nk5

Afiseaza procesele

prstat -avm


ps -ef

Opreste procese

kill - <cod semnal> PID

FreeBSD Signals

Signal NameSignal NumberSignal Description
SIGHUP1Terminal line hangup
SIGINT2Interrupt program
SIGQUIT3Quit program
SIGILL4Illegal instruction
SIGTRAP5Trace trap
SIGEMT7Emulate instruction executed
SIGFPE8Floating-point exception
SIGKILL9Kill program
SIGBUS10Bus error
SIGSEGV11Segmentation violation
SIGSYS12Bad argument to system call
SIGPIPE13Write on a pipe with no one to read it
SIGALRM14Real-time timer expired
SIGTERM15Software termination signal
SIGURG16Urgent condition on I/O channel
SIGSTOP17Stop signal not from terminal
SIGTSTP18Stop signal from terminal
SIGCONT19A stopped process is being continued
SIGCHLD20Notification to parent on child stop or exit
SIGTTIN21Read on terminal by background process
SIGTTOU22Write to terminal by background process
SIGIO23I/O possible on a descriptor
SIGXCPU24CPU time limit exceeded
SIGXFSZ25File-size limit exceeded
SIGVTALRM26Virtual timer expired
SIGPROF27Profiling timer expired
SIGWINCH28Window size changed
SIGINFO29Information request
SIGUSR130User-defined signal 1
SIGUSR231User-defined signal 2
SIGTHR32Thread interrupt

Solaris Signals

Signal NameSignal NumberSignal Description
SIGHUP1Hangs up
SIGILL4Illegal instruction
SIGTRAP5Trace trap
SIGABRT6Used by abort
SIGEMT7EMT instruction
SIGFPE8Floating-point exception
SIGKILL9Kill (cannot be caught or ignored)
SIGBUS10Bus error
SIGSEGV11Segmentation violation
SIGSYS12Bad argument to system call
SIGPIPE13Writes on a pipe with no one to read it
SIGALRM14Alarm clock
SIGTERM15Software termination
SIGUSR116User-defined signal 1
SIGUSR217User-defined signal 2
SIGCHLD18Child status change alias (POSIX)
SIGPWR19Power-fail restart
SIGWINCH20Window size change
SIGURG21Urgent socket condition
SIGPOLL /SIGIO22Pollable event occurred or Socket I/O possible
SIGSTOP23Stop (cannot be caught or ignored)
SIGTSTP24User stop requested from TTY
SIGCONT25Stopped process has been continued
SIGTTIN26Background TTY read attempted
SIGTTOU27Background TTY write attempted
SIGVTALRM28Virtual timer expired
SIGPROF29Profiling timer expired
SIGXCPU30Exceeded CPU limit
SIGXFSZ31Exceeded file size limit
SIGWAITING32Process’ LWPs are blocked
SIGLWP33Special signal used by thread library
SIGFREEZE34Special signal used by CPR
SIGTHAW35Special signal used by CPR
SIGCANCEL36Thread cancellation signal used by libthread
SIGLOST37Resource lost
SIGRTMIN38Highest priority real-time signal
SIGRTMAX45Lowest priority real-time signal

0 comentarii:

Trimiteți un comentariu