02-11-2012
This User Gave Thanks to frappa For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file contains
TASK gsnmpproxy {
CommandLine = $SMCHOME/bin/gsnmpProxy.exe
}
TASK gsnmpdbgui {
CommandLine = $SMCHOME/bin/gsnmpdbgui.exe
I would like to comment and than uncomment specific task eg TASK gsnmpproxy
Pls suggest how to do in shell script (9 Replies)
Discussion started by: madhusmita
9 Replies
2. Shell Programming and Scripting
Hi,
I have a simple windows batch file which connects to a UNIX server and runs a shell script in my home directory on the server.
It works perfectly, using plink + ssh keys in the background.
What I plan to do is expand this batch file to connect to multiple servers and execute one script... (2 Replies)
Discussion started by: Moxy
2 Replies
3. Shell Programming and Scripting
Hi guys,
could someone tell me how i could create a label like this:
mybox01, mybox04, mybox12, mybox10 when i have the values "mybox1", "mybox4","mybox12","mybox10" as a prefix and a number. If the number is below 10 then add a zero before the number?
A one liner?
A long approach is to... (2 Replies)
Discussion started by: muay_tb
2 Replies
4. UNIX for Advanced & Expert Users
I want to make a script to automate printer adding task.My inputs are like
Printer name : xyz
Port number :9001
I should write a script to make the Printer adding task will be automated.
Like in manually adding task we are doing through hppi or jetadmin tools.
---------- Post updated at... (2 Replies)
Discussion started by: AnilKPatnaik
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I need to grep(look) for a line in filename named /tmp/Test on all 90 unix servers. Without logging to each servers manually and grep'ing for the line, is there a way to pull this info in output file thru' the ksh/sh/bash script. Can someone pl. help to create this script for me?
Ex.... (3 Replies)
Discussion started by: Mike1234
3 Replies
6. Shell Programming and Scripting
how to call unix script in informatoca thrgh cmd task (0 Replies)
Discussion started by: sunilamarnadh
0 Replies
7. Shell Programming and Scripting
Hi experts,
I need an help on the task below.
INPUT: values separated by the tab,first row is the header
20110609 AS A 300.5000
20110609 AS R 200.5000
20110609 BR A 111.5000
20110609 BR R 222.5000
20110610 AS A 100.5500
20110610 AS ... (2 Replies)
Discussion started by: hernand
2 Replies
8. Shell Programming and Scripting
Hi...
I am trying extract data using 2 files..
1. Data file - DATA.TXT containing data to be extracted
2. Column file - LIST.TXT header column to be extracted
output not coming properly..
if the header field name matches with data file header extract data...this actually I wanted ...
... (7 Replies)
Discussion started by: nex_asp
7 Replies
9. Homework & Coursework Questions
I have a requirement (in a shell script) to connect to several servers at once and execute a series of commands.
I am aware that ssh can be used for sequential execution. But since most of the commands that I need to execute take a long time, I have to go for the parallel option.
Is there... (2 Replies)
Discussion started by: sneha1887
2 Replies
10. Shell Programming and Scripting
Hi All,
How can i run a single command on multiple servers with or without giving credentials.
I have a file(servers.txt) which has got list of servers and i want to run a command lsb_release -dr on all these servers and get output of those servers against each server.
I tried below code... (9 Replies)
Discussion started by: darling
9 Replies
LEARN ABOUT CENTOS
tapset::task
tapset::task(3stap) tapset::task(3stap)
NAME
tapset::task - systemtap task tapset
DESCRIPTION
task_current
The current task_struct of the current task
See function::task_current(3stap)
for details.
task_parent
The task_struct of the parent task
See function::task_parent(3stap)
for details.
task_state
The state of the task
See function::task_state(3stap)
for details.
task_execname
The name of the task
See function::task_execname(3stap)
for details.
task_pid
The process identifier of the task
See function::task_pid(3stap)
for details.
pid2task
The task_struct of the given process identifier
See function::pid2task(3stap)
for details.
pid2execname
The name of the given process identifier
See function::pid2execname(3stap)
for details.
task_tid
The thread identifier of the task
See function::task_tid(3stap)
for details.
task_gid
The group identifier of the task
See function::task_gid(3stap)
for details.
task_egid
The effective group identifier of the task
See function::task_egid(3stap)
for details.
task_uid
The user identifier of the task
See function::task_uid(3stap)
for details.
task_euid
The effective user identifier of the task
See function::task_euid(3stap)
for details.
task_prio
The priority value of the task
See function::task_prio(3stap)
for details.
task_nice
The nice value of the task
See function::task_nice(3stap)
for details.
task_cpu
The scheduled cpu of the task
See function::task_cpu(3stap)
for details.
task_open_file_handles
The number of open files of the task
See function::task_open_file_handles(3stap)
for details.
task_max_file_handles
The max number of open files for the task
See function::task_max_file_handles(3stap)
for details.
SEE ALSO
function::task_current(3stap), function::task_parent(3stap), function::task_state(3stap), function::task_execname(3stap),
function::task_pid(3stap), function::pid2task(3stap), function::pid2execname(3stap), function::task_tid(3stap),
function::task_gid(3stap), function::task_egid(3stap), function::task_uid(3stap), function::task_euid(3stap),
function::task_prio(3stap), function::task_nice(3stap), function::task_cpu(3stap), function::task_open_file_handles(3stap),
function::task_max_file_handles(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::task(3stap)