Hi,
Can anyone help me to know the PID char length.
Like - 89066 = 5 char length.
I would like to know a good reason on why the PID can't be more than 5 char in length ?
thanks
dave
Hi,
I have the following in a perl data structure.
TRG_FILE => "\\\\CDCTS09\\MYDIR\\DROPBOXES\\receive_from\\$$xml_params{FileName}",
When the same is resolved.. i'm getting a Cntrl+M char getting replace for '\receive_from'. i.e for the slash-r.
Please could anyone hlp to resolve this...
Hi,
I have the follwing inside a variable .. basically its the stdout/stderr.
<QUOTE>
Sending request .................
server response .........
received my response ...
I am Analysing response...
-this is the output xx!p:p:9009
-next line is 64
I'm done !
<UNQUOTE>
I'm interested in grabbing...
All:
Query:
I want to log syslog events ( of particular facitly/priority ) to a localhost ( loghost ) and a remote host..
a) how to do this
b) should i make a syslog config change on the remote host to accept syslog events ?
c) can i write to the LOCAL-HOST into /var/adm/messages and in...
hi,
i have a requirement where inside an awk script i need to execute a unix 'ls -l' to pick the file/directory permission, user name, group name,filename,date,etc.
When i use a cut, i'm afraid that it might not provide me the right results as i use the delimiter .. -d' '.. this will obviously...
hi,
i want to know what is the best method to study for scsa exams ?
as i dont have 'full' access to the unix servers, i'm posting this question.
Do anyone think that having a sun solaris ultra workstation, sun os cd 9,etc will help to have a good edge ?
pls advise
regs
I have problems in executing the following script, this is part of a shell script (ksh). It runs fine in 'sh' but not under ksh.
The command 'finder' accepts the following as parameters
--> para1 -s "$4" -e "$2" -p "$3"
awk ' {
system("$MY_HOME/bin/finder para1 -s "$4" -e "$2" -p "$3"...
After I change all locales to pt_PT except LC_NUMERIC, which is set to en_US, decimal value returned by db2 query is with “comma” as the decimal separator instead of “period” (expected behavior is period).
# oslevel -r
5100-05
# locale -a
C
POSIX
pt_PT
en_US
en_US.8859-15
en_US.ISO8859-1...
i created a tar file using the below command.
tar cvf my.tar /tmp/*
This contains all the file/directories etc from /tmp directory.
My requirement is..
I want to un-tar the my.tar under a different directory... say /opt/mywork/
when I untar my.tar from /opt/mywork it untar's using the...
Hi,
I want to search a list of directories using a find command, by applying an exclusion.
say: find /tmp/ /var/ /opt/ -type d -print
If I want to exclude the directory and its subdirectories..(i.e.) I dont want my 'search criteria' to have /opt/varlog /opt/myfiles/, but still want to search...
Can anyone suggest me to devise a script, which achieves the following functionality.
a) Find all Files which has group+ world..write access
eg.
-rw-rw-rw- 1 swnet swnetg 0 Feb 4 13:45 test.file
b) All files/directories whose 'unix group' is owned by 'nobody'. ( 'nobody' is...
Hi,
I came to know that switch/case is a feature only in gawk.
What can be the equivalent of switch/case in 'awk' ?
Any efficient construct to mock switch/case in awk ?
thanks
david
can anyone suggest how i can capture the nmon output for CPU usage/disk i/o + network interface usage in a File for a particular time-window.
thanks
david
All,
Can anyone tell me how we can eject a cd-rom automatically or using any specific commands, from a AIX 5.1 host ( p640 m/c )
Info on cd-rom drive : 16 Bit SCSI Multimedia CD-ROM Drive
cheers
david jeyam
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.