Search Results

Search: Posts Made By: mohullah
7,243
Posted By mohullah
Perfect it works fine... Thank you for your...
Perfect it works fine...
Thank you for your help Ahamed.
7,243
Posted By mohullah
Even with the nwak (solraris 10) it returned the...
Even with the nwak (solraris 10) it returned the pid ....


pfiles 437 | nawk -F":" '/^[0-9]*:/{val=$1} END{print val}'
437


---------- Post updated at 02:03 PM ---------- Previous update...
7,243
Posted By mohullah
Hi Ahamed, thanks for your reply. I ran the...
Hi Ahamed,

thanks for your reply. I ran the command but it bounced back with the pid


pfiles 437 | awk -F":" '/^[0-9]*:/{val=$1} END{print val}'
437
7,243
Posted By mohullah
Here is the command I am trying to run, but it is...
Here is the command I am trying to run, but it is not working as expected.

If I run pfiles 437 it gives me follwing output and I just want to pick 27 from there...so I ran following command but...
7,243
Posted By mohullah
Hi Skrynesaver, I ran your command but it...
Hi Skrynesaver,

I ran your command but it is not giving me right count... pfiles 18877 has count 23 not 22.

pfiles 18877 | egrep '[0-9]+: '|wc -l
22


Video tutorial on how to use...
7,243
Posted By mohullah
file descriptor count
I am trying to write a script which will only show me the file descriptor count for a process/pid. My script will return me the count only not the whole output. For example, I would like my script to...
Forum: Solaris 09-30-2011
2,621
Posted By mohullah
yes, I can. To clarify more on my post... ...
yes, I can.

To clarify more on my post...

I am able to telnet to the Physical NiC Server IP (as I showed in the example) but this host ClusterVIP IP (telnet not working) which is...
Forum: Solaris 09-30-2011
2,621
Posted By mohullah
Telnet issue
Hi Gurus,

I have solaris 10 server where I can telnet to one host and port <20011> with no problem..but when I am trying to telnet to another host same port (port is listening) I am not getting...
3,674
Posted By mohullah
yes tar_list contains all the untar file lists....
yes tar_list contains all the untar file lists. sorry, I actually meant

for i in `cat tar_list`
do
tar -xvf ABC.tar $i
done


thank you for your help

Please use code tags...
3,674
Posted By mohullah
Thanks for your quick response. I have about 35...
Thanks for your quick response. I have about 35 files in bin and 74 files in lib to untar. I think I can put them in a input file then run it as following...
for i in `ls tar_list`
do
tar -xvf...
3,674
Posted By mohullah
Help on untar files in one command
Hi All,

I need your help to find out an easy way to untar files from a tar file.

For example, I have a tar file which contains a lot of files that needs to untar in certain directories. I...
994
Posted By mohullah
Thanks Ahamed, for your quick reply. I...
Thanks Ahamed, for your quick reply.

I have checked the variables by echo and they are valid. However you made a good point...I can not ping the host although the host is in /var/hosts. Could it...
994
Posted By mohullah
SCP command hungs on machine
Hi Guru's

I have a script that touch a file call "ready2prepro" and copy this file over to a remote host. I am using following scp commands were all the variables are exported before I run the...
Forum: IP Networking 05-03-2011
2,532
Posted By mohullah
Remote printer setup on solaris 10 host
Hi All,

I am trying setup a remote printer on a solaris 10 server. The printer is online and working fine is solaris 8. I have added the pritner to /etc/hosts file and /etc/printers.conf ... I...
1,864
Posted By mohullah
something like this will work... for n in...
something like this will work...

for n in `ls`
do
cat $n >> out.log
done
6,802
Posted By mohullah
Thanks all... it worked as expected. :)
Thanks all... it worked as expected. :)
6,802
Posted By mohullah
In Sed how can I replace starting from the 7th character to the 15th character.
Hi All,

Was wondering how I can do the following....

I have a String as follows

"ACCTRL000005022RRWDKKEEDKDD...."
This string can be in a file called tail.out or in a Variable called...
5,950
Posted By mohullah
moving log file into Archive directory
Hi All,

I'm trying to write a script which will do following :

- For any old log under trace directory, if found move it to Archive
- Check for a process “process-A” if it is running abort...
5,753
Posted By mohullah
Need help to check the jobs status
Hello All,

I'm new in shell scripting and would like to write an automated script that will check few jobs for the completion, and restart the process based on the jobs status. I am not quite...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 12:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy