10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I've come accross a situation where I need to exit from current shell script at the same time I need to start/activate another shell script.
How can I do that in KSH ?? Need help !!
For example, my script is as below
#!/bin/ksh
paramFile="/home/someXfile.lst"
] && <<Here I... (1 Reply)
Discussion started by: R0H0N
1 Replies
2. Shell Programming and Scripting
Good morning dear friends,
I want to write an UNIX script to do the following task:
We have 6 directories, called (SMS_01, SMS_02 ....... SMS_06), some files are distributed across these directories, but the distribution process is not good, I mean when I check these directories I found the... (14 Replies)
Discussion started by: Mohannad
14 Replies
3. Shell Programming and Scripting
first of all I thought the argument DONE is necessary for all scripts that have or begin with do statements which I have on my script, However, I still don't completely understand why I am receiving an error I tried adding another done argument statement but didn't do any good.
I appreciate... (3 Replies)
Discussion started by: wolf@=NK
3 Replies
4. Shell Programming and Scripting
All
i am new to linux, and try to have a simple expect script to ssh then telnet to the network equipment, and exit itself. but dont know why i hang at the last $
#!/usr/bin/expect
set timeout 10
set arg
set arg1
spawn ssh -l UserA 1.1.1.1
expect "assword:";
send "PasSwOrD\r";... (1 Reply)
Discussion started by: samoptimus
1 Replies
5. Shell Programming and Scripting
Hi All,
Can anyone help me to finish the scripts. this scripts is
this scripts will run on crontab in every 4 minutes to get the newest router interface status.
I would like to add a function to count the router interface flapping, if more than 2 times in 20 minutes (scripts run 5 times)... (1 Reply)
Discussion started by: momo0617
1 Replies
6. Shell Programming and Scripting
Hello,
I'm doing a script where I'm traveling a file, and moves down line by line, and is copied to another file, up to the line 100, then the smaller file passes to another format ... but the problem I have is that if there are 357 lines for example, file 1 2 i 3, converted correctly but the 4... (1 Reply)
Discussion started by: uri_crack
1 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I wanted to write a finish script for my jumpstart server which creates a ntp.conf file and enables ntp on the client machines during installation. Is that possible?
Thanks for the help :)
P.S. I'm a real Solaris noob, so do excuse me if I sound like an idiot..lol (1 Reply)
Discussion started by: iman453
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have strange problem executing some command on solaris 5.9
ps command does not finish(hangs) and runs forever without any result.
same with cc command too.Please suggest (1 Reply)
Discussion started by: Raom
1 Replies
9. UNIX for Dummies Questions & Answers
i tried to build a command to replaces the word "include" with
"exclude"
in each *.h type of file in a certain directory
and to display the lines in which the switch happened.
i did a command and i dont know why its not working
find /usr -name "*.h" -exec sed 's/include/exclude/g' {} \;... (2 Replies)
Discussion started by: newby2
2 Replies
10. Shell Programming and Scripting
Hi,
I want to know is there a way out wherein we can know that the C++ executable has finished its task.
Following is the steps:
1.Shell script calls a executable after setting all the env variables.
2.Now after the executable has done its job(basically to create some outpur files).The... (2 Replies)
Discussion started by: electroon
2 Replies
tapset::nfs_proc(3stap) tapset::nfs_proc(3stap)
NAME
tapset::nfs_proc - systemtap nfs_proc tapset
DESCRIPTION
nfs.proc.lookup
NFS client opens/searches a file on server
See probe::nfs.proc.lookup(3stap)
for details.
nfs.proc.read
NFS client synchronously reads file from server
See probe::nfs.proc.read(3stap)
for details.
nfs.proc.write
NFS client synchronously writes file to server
See probe::nfs.proc.write(3stap)
for details.
nfs.proc.commit
NFS client committing data on server
See probe::nfs.proc.commit(3stap)
for details.
nfs.proc.read_setup
NFS client setting up a read RPC task
See probe::nfs.proc.read_setup(3stap)
for details.
nfs.proc.read_done
NFS client response to a read RPC task
See probe::nfs.proc.read_done(3stap)
for details.
nfs.proc.write_setup
NFS client setting up a write RPC task
See probe::nfs.proc.write_setup(3stap)
for details.
nfs.proc.write_done
NFS client response to a write RPC task
See probe::nfs.proc.write_done(3stap)
for details.
nfs.proc.commit_setup
NFS client setting up a commit RPC task
See probe::nfs.proc.commit_setup(3stap)
for details.
nfs.proc.commit_done
NFS client response to a commit RPC task
See probe::nfs.proc.commit_done(3stap)
for details.
nfs.proc.open
NFS client allocates file read/write context information
See probe::nfs.proc.open(3stap)
for details.
nfs.proc.release
NFS client releases file read/write context information
See probe::nfs.proc.release(3stap)
for details.
nfs.proc.handle_exception
NFS client handling an NFSv4 exception
See probe::nfs.proc.handle_exception(3stap)
for details.
nfs.proc.create
NFS client creating file on server
See probe::nfs.proc.create(3stap)
for details.
nfs.proc.remove
NFS client removes a file on server
See probe::nfs.proc.remove(3stap)
for details.
nfs.proc.rename
NFS client renames a file on server
See probe::nfs.proc.rename(3stap)
for details.
SEE ALSO
probe::nfs.proc.lookup(3stap), probe::nfs.proc.read(3stap), probe::nfs.proc.write(3stap), probe::nfs.proc.commit(3stap),
probe::nfs.proc.read_setup(3stap), probe::nfs.proc.read_done(3stap), probe::nfs.proc.write_setup(3stap),
probe::nfs.proc.write_done(3stap), probe::nfs.proc.commit_setup(3stap), probe::nfs.proc.commit_done(3stap), probe::nfs.proc.open(3stap),
probe::nfs.proc.release(3stap), probe::nfs.proc.handle_exception(3stap), probe::nfs.proc.create(3stap), probe::nfs.proc.remove(3stap),
probe::nfs.proc.rename(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::nfs_proc(3stap)