06-29-2009
Your question is far too vague to give a precise answer. All I can say is - it is possible but depends on your skill level.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to calculate the time differnce between two given timings but i don't know how .
Can you help me please ? (1 Reply)
Discussion started by: Olti
1 Replies
2. Shell Programming and Scripting
I can see in the man pages how cut can be used to extract a specified string by using the -f qualifier. However, I can't find anywhere how to specify the "last" parsed segment with the cut command. If the string you are parsing is (or can be) differant each time the script is run, but you know... (4 Replies)
Discussion started by: phudgens
4 Replies
3. SuSE
Can anyone give me a little clue on why the hard drive cache read timings on sles 9 is better then sles 11? The same hardware was used in both test. I even deleted the ata_generic module from initrd.
The speed difference is 10MB vs 5 MB
Thanks (1 Reply)
Discussion started by: 3junior
1 Replies
4. Shell Programming and Scripting
Hi all,
I am fairly new to unix scripting and I am struggling with some awk commands here. I want to create an array COMPANYCODE from some parsed csv values (single column) . I have been able to access the data in other ways but I would prefer if I could put each value in it's own array... (6 Replies)
Discussion started by: P8TRO
6 Replies
5. UNIX for Dummies Questions & Answers
We have a cron job which runs at 2 different times on a daily basis
I need to change the timings now
currently its runs at 12 and 3pm
I need to make the 3pm to some 4:30PM...
Please help. (8 Replies)
Discussion started by: win4luv
8 Replies
6. Programming
Hi,
I am using the libxml2 sax parser to parse a in memory xml string along with validating it against a schema.
I am using the following code:
xmlSAXHandlerPtr sax_ = new xmlSAXHandler();
sax_->initialized = XML_SAX2_MAGIC;
sax_->startElementNs =... (0 Replies)
Discussion started by: Sam Krishna
0 Replies
7. Shell Programming and Scripting
Thanks to people's help, I have composed a single line within a .sh script that Ports a file into a csv:
perl -p -i -e... (5 Replies)
Discussion started by: Astrocloud
5 Replies
8. Shell Programming and Scripting
I need help with a bash script.
We have a directory of files which need to be renamed and moved to another directory based on filename information in a cvs file.
The contents of the cvs file are as follows:
A102345,abc123
A102347,dfg475
Where dfg475 is the basename without extension
Our... (8 Replies)
Discussion started by: Lloyd Boyette
8 Replies
9. Shell Programming and Scripting
Hi
I need to know the reboot timings of remote servers (all unix/AIX server )with the help of shell script as the list of servers is 400+.
None of the commands uses system name as parameter .What to do ?
I am trying man -b in variety of codes am preparing but all in vain .
#!/bin/ksh... (5 Replies)
Discussion started by: vinil
5 Replies
10. UNIX for Beginners Questions & Answers
I will initiate a process from Server1 and the flow is as follow
Server1 --> Web server --> Application server --> DB Server
Note all seperate unix servers.
Now I need to put a trace for that process to track the timings from each server.
Like the below trace should be there:
... (5 Replies)
Discussion started by: saraperu
5 Replies
SKILL(1) User Commands SKILL(1)
NAME
skill, snice - send a signal or report process status
SYNOPSIS
skill [signal] [options] expression
snice [new priority] [options] expression
DESCRIPTION
These tools are obsolete and unportable. The command syntax is poorly defined. Consider using the killall, pkill, and pgrep commands
instead.
The default signal for skill is TERM. Use -l or -L to list available signals. Particularly useful signals include HUP, INT, KILL, STOP,
CONT, and 0. Alternate signals may be specified in three ways: -9 -SIGKILL -KILL.
The default priority for snice is +4. Priority numbers range from +20 (slowest) to -20 (fastest). Negative priority numbers are
restricted to administrative users.
OPTIONS
-f, --fast
Fast mode. This option has not been implemented.
-i, --interactive
Interactive use. You will be asked to approve each action.
-l, --list
List all signal names.
-L, --table
List all signal names in a nice table.
-n, --no-action
No action; perform a simulation of events that would occur but do not actually change the system.
-v, --verbose
Verbose; explain what is being done.
-w, --warnings
Enable warnings. This option has not been implemented.
-h, --help
Display help text and exit.
-V, --version
Display version information.
PROCESS SELECTION OPTIONS
Selection criteria can be: terminal, user, pid, command. The options below may be used to ensure correct interpretation.
-t, --tty tty
The next expression is a terminal (tty or pty).
-u, --user user
The next expression is a username.
-p, --pid pid
The next expression is a process ID number.
-c, --command command
The next expression is a command name.
--ns pid
Match the processes that belong to the same namespace as pid.
--nslist ns,...
list which namespaces will be considered for the --ns option. Available namespaces: ipc, mnt, net, pid, user, uts.
SIGNALS
The behavior of signals is explained in signal(7) manual page.
EXAMPLES
snice -c seti -c crack +7
Slow down seti and crack commands.
skill -KILL -t /dev/pts/*
Kill users on PTY devices.
skill -STOP -u viro -u lm -u davem
Stop three users.
SEE ALSO
kill(1), kill(2), killall(1), nice(1), pkill(1), renice(1), signal(7)
STANDARDS
No standards apply.
AUTHOR
Albert Cahalan <albert@users.sf.net> wrote skill and snice in 1999 as a replacement for a non-free version.
REPORTING BUGS
Please send bug reports to <procps@freelists.org>
procps-ng October 2011 SKILL(1)