9 More Discussions You Might Find Interesting
1. AIX
Hello everyone,
We have got a Server say Testserver with AIX 6.1 running on it.
We want to create user defined authorization for syslogd, ntpd and named . We don't want to use pre-defined authorization (aix.network.daemon). Is it possible to create an independent authorization for commands?... (1 Reply)
Discussion started by: coolr
1 Replies
2. UNIX for Dummies Questions & Answers
Hi, i would like to create user defined commands.
e,g:
if an user executes ,
mkdircd test then a directory called test should be created and it should be cd to test.
How i can create the command mkdircd with below action:
mkdir $1 && cd $1.
Please help me in achieving this (7 Replies)
Discussion started by: pandeesh
7 Replies
3. Shell Programming and Scripting
Hi;
Is der ne to to use user defined functions for the values in awk
find $1 -type f -ls | nawk '{{print "|"$3"|"$5"|"$6"|"$8"|"$9"|"$10"|"} for(i=11;i<=NF;i++){printf("%s",$i)}}'
In above command i want to append some values returned by user functions on line.
thnks;
ajay (1 Reply)
Discussion started by: ajaypadvi
1 Replies
4. Programming
Hi
Is there a way to add more user-defined signals?
I am currently using SIGUSR1 and SIGUSR2 - but I need another one.
How can I do that?
Thanks! (9 Replies)
Discussion started by: naamabm
9 Replies
5. Solaris
I am converting 32-bit C++ code to 64-bit on Solaris.
I have used unsigned long in number of files. I want it to convert to unsigned int for 64-bit.
Total files are around 2000. Can you please help me if possible to do it in makefile using MACRO while build.
If it is not possible any other... (2 Replies)
Discussion started by: amit_27
2 Replies
6. Shell Programming and Scripting
Dear Friends,
I need a help regarding User defined function in shell script.
My problem is as follows:
my_func.sh
my_funcI(){
grep 'mystring' I.dat
}
my_funcQ(){
grep 'mystring' Q.dat
}
myfuncI
myfuncQ
But As both the function has same function only the... (11 Replies)
Discussion started by: user_prady
11 Replies
7. Shell Programming and Scripting
In a line such as:
echo -n "How many days back would you like to check? "; read days
How can I ensure that the user has a.) entered a number between 1-30 (not 0 or 31+) and b.) has not just hit enter (ie set it to "") and if it's entered wrong, how do I start the if statement over?
I... (10 Replies)
Discussion started by: earnstaf
10 Replies
8. UNIX for Dummies Questions & Answers
I want to add a new IP service which executes a script on SCO OS5.
I have amended /etc/services and added to port number (3333)
I have amended /etc/inetd.conf and added a line for this service but I can't get it to execute my own shell script
When I telnet to the IP address on port 3333 I... (1 Reply)
Discussion started by: markdrury
1 Replies
9. Shell Programming and Scripting
HELP!!!! I am in an on-line shell programming class and have a question. Here is the data:
Mike Harrington:(510) 548-1278:250:100:175
Christian Dobbins:(408) 538-2358:155:90:201
Susan Dalsass:(206) 654-6279:250:60:50
(There are 12 contribuors total)
This database contains names, phone... (1 Reply)
Discussion started by: NewbieGirl
1 Replies
tapset::signal(3stap) tapset::signal(3stap)
NAME
tapset::signal - systemtap signal tapset
DESCRIPTION
This family of probe points is used to probe signal activities.
Since there are so many signals sent to processes at any given
point, it is advisable to filter the information according to the
requirements. For example, filter only for a particular signal
(if sig==2) or for a particular process (if pid_name==stap).
signal.send
Signal being sent to a process
See probe::signal.send(3stap)
for details.
signal.send.return
Signal being sent to a process completed (deprecated in SystemTap 2.1)
See probe::signal.send.return(3stap)
for details.
signal.checkperm
Check being performed on a sent signal
See probe::signal.checkperm(3stap)
for details.
signal.checkperm.return
Check performed on a sent signal completed
See probe::signal.checkperm.return(3stap)
for details.
signal.wakeup
Sleeping process being wakened for signal
See probe::signal.wakeup(3stap)
for details.
signal.check_ignored
Checking to see signal is ignored
See probe::signal.check_ignored(3stap)
for details.
signal.check_ignored.return
Check to see signal is ignored completed
See probe::signal.check_ignored.return(3stap)
for details.
signal.force_segv
Forcing send of SIGSEGV
See probe::signal.force_segv(3stap)
for details.
signal.force_segv.return
Forcing send of SIGSEGV complete
See probe::signal.force_segv.return(3stap)
for details.
signal.syskill
Sending kill signal to a process
See probe::signal.syskill(3stap)
for details.
signal.syskill.return
Sending kill signal completed
See probe::signal.syskill.return(3stap)
for details.
signal.sys_tkill
Sending a kill signal to a thread
See probe::signal.sys_tkill(3stap)
for details.
signal.systkill.return
Sending kill signal to a thread completed
See probe::signal.systkill.return(3stap)
for details.
signal.sys_tgkill
Sending kill signal to a thread group
See probe::signal.sys_tgkill(3stap)
for details.
signal.sys_tgkill.return
Sending kill signal to a thread group completed
See probe::signal.sys_tgkill.return(3stap)
for details.
signal.send_sig_queue
Queuing a signal to a process
See probe::signal.send_sig_queue(3stap)
for details.
signal.send_sig_queue.return
Queuing a signal to a process completed
See probe::signal.send_sig_queue.return(3stap)
for details.
signal.pending
Examining pending signal
See probe::signal.pending(3stap)
for details.
signal.pending.return
Examination of pending signal completed
See probe::signal.pending.return(3stap)
for details.
signal.handle
Signal handler being invoked
See probe::signal.handle(3stap)
for details.
signal.handle.return
Signal handler invocation completed
See probe::signal.handle.return(3stap)
for details.
signal.do_action
Examining or changing a signal action
See probe::signal.do_action(3stap)
for details.
signal.do_action.return
Examining or changing a signal action completed
See probe::signal.do_action.return(3stap)
for details.
signal.procmask
Examining or changing blocked signals
See probe::signal.procmask(3stap)
for details.
signal.procmask.return
Examining or changing blocked signals completed
See probe::signal.procmask.return(3stap)
for details.
signal.flush
Flushing all pending signals for a task
See probe::signal.flush(3stap)
for details.
get_sa_flags
Returns the numeric value of sa_flags
See function::get_sa_flags(3stap)
for details.
get_sa_flags
Returns the numeric value of sa_handler
See function::get_sa_flags(3stap)
for details.
get_sa_flags
Returns the string representation of a sigset
See function::get_sa_flags(3stap)
for details.
is_sig_blocked
Returns 1 if the signal is currently blocked, or 0 if it is not
See function::is_sig_blocked(3stap)
for details.
sa_flags_str
Returns the string representation of sa_flags
See function::sa_flags_str(3stap)
for details.
sa_handler
Returns the string representation of an sa_handler
See function::sa_handler(3stap)
for details.
signal_str
Returns the string representation of a signal number
See function::signal_str(3stap)
for details.
SEE ALSO
function::get_sa_flags(3stap), function::get_sa_flags(3stap), function::get_sa_flags(3stap), function::is_sig_blocked(3stap),
function::sa_flags_str(3stap), function::sa_handler(3stap), function::signal_str(3stap), probe::signal.send(3stap),
probe::signal.send.return(3stap), probe::signal.checkperm(3stap), probe::signal.checkperm.return(3stap), probe::signal.wakeup(3stap),
probe::signal.check_ignored(3stap), probe::signal.check_ignored.return(3stap), probe::signal.force_segv(3stap),
probe::signal.force_segv.return(3stap), probe::signal.syskill(3stap), probe::signal.syskill.return(3stap),
probe::signal.sys_tkill(3stap), probe::signal.systkill.return(3stap), probe::signal.sys_tgkill(3stap),
probe::signal.sys_tgkill.return(3stap), probe::signal.send_sig_queue(3stap), probe::signal.send_sig_queue.return(3stap),
probe::signal.pending(3stap), probe::signal.pending.return(3stap), probe::signal.handle(3stap), probe::signal.handle.return(3stap),
probe::signal.do_action(3stap), probe::signal.do_action.return(3stap), probe::signal.procmask(3stap),
probe::signal.procmask.return(3stap), probe::signal.flush(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::signal(3stap)