Search Results

Search: Posts Made By: stevefox
2,185
Posted By stevefox
Thank you Chubler_XL !!! I was able to achieve...
Thank you Chubler_XL !!!
I was able to achieve what I want it !!!
I didn't know about the UNIX95 command.
Thank you very much for your great support!!!

Cheers
Steve
2,185
Posted By stevefox
Chubler_XL, Thanks for your info. I'm...
Chubler_XL,

Thanks for your info.

I'm using both Solaris 10 and HP-UX B.11.11.

I was able to get the info with your method on Solaris but couldn't on HP-UX because HP-UX does not have...
2,185
Posted By stevefox
Q's on Active Process Time
Is it possible to display active processes' Year,Month,Day,Hour,Minute,Second info of process start time ? Preferbly in the format "YYYY/MM/DD HH:MM:SS" ?

I tried to do this with the ps command...
1,411
Posted By stevefox
anurag.singh, Your script works great with...
anurag.singh,

Your script works great with much shorter process time!!
I'll learn to use awk from next time.
Thank you very much for your help!!!

Cheers
Steve
1,411
Posted By stevefox
Questions on File filtering
I have a file test.txt with the lines below :

$ cat test.txt
AAA 1
AAA 2
BBB 5
BBB 7
BBB 9
CCC 3
CCC 4
DDD 6
EEE 5

I want to filter the file above to make it have unique rows with the...
28,036
Posted By stevefox
Thanks jlliagre and hergp!!! Both pargs and...
Thanks jlliagre and hergp!!!

Both pargs and /usr/ucb/ps commands worked but /usr/ucb/ps command works better for me so I go with this.

Thank you very much for your help!!!

Cheers
Steve
28,036
Posted By stevefox
Solaris 10 "ps" command
Is it possible to display more than 80 characters in the CMD field of the output of "ps -ef" command in Solaris 10?? If this is possible please tell me how to do this.

Thanks,

Steve
10,807
Posted By stevefox
Solaris 10 question on syslog.conf file
Hi,

I have a question on /etc/syslog.conf file in Solaris 10.

Below is a line taken from /etc/syslog.conf file and I know that the last field (operator) is where the logs gets outputted but how...
1,643
Posted By stevefox
danmero, thank you very much for your help! ...
danmero,
thank you very much for your help!
i'll put the script in code from next time.
1,643
Posted By stevefox
q's on file sort
I have a file below which has a list of users and roles with each row having unique combination of users and roles.

USER1 ROLE1
USER1 ROLE2
USER2
USER3 ROLE1
USER3 ROLE2
USER3 ROLE3
USER4...
1,946
Posted By stevefox
Create a script which sorts a file
I have a file below which has a list of users and roles with each row having unique combination of users and roles.

USER1 ROLE1
USER1 ROLE2
USER2
USER3 ROLE1
USER3 ROLE2
USER3 ROLE3
USER4...
28,482
Posted By stevefox
Date format in Perl
How do I display the date in the format "YYYY-Mmm-DD" using perl.

e.g 2008-Jun-03

I have a perl command below which displays the date in the format "YYYY-MM-DD" but I want the month to be...
2,257
Posted By stevefox
-mmin option is not available in HP-UX. Is it...
-mmin option is not available in HP-UX.
Is it possible to do this using some perl command?
2,257
Posted By stevefox
Thanks for response danmero but there was no...
Thanks for response danmero but there was no option in HP-UX for the "find" command to find folders by hours. It can only find by days.
2,257
Posted By stevefox
Searching for folders which are over 5 hours old.
I want to create a script which will delete all folders which are over 5 hours old in HP-UX 11.11.
I tried to use the "find" command but it didn't have an option for searching files/folder by hours....
8,116
Posted By stevefox
Hi Vino, Thanks for your quick response. ...
Hi Vino,

Thanks for your quick response.

I was just looking for a normal single byte english encoding and I found "engle" in /usr/lib/nls/iconv/config.iconv as the only one with the word...
8,116
Posted By stevefox
Character Convertion Help Needed
Could someone please tell me how to convert double byte charaters to single byte characters in HP-UX 11.11 without installing any applications?
e.g. I have a double byte string below and I want to...
1,887
Posted By stevefox
Ygor, Thank you very much for your quick...
Ygor,
Thank you very much for your quick response!
It's working perfectly! That's exactly what I was looking for.

Cheers,
Steve
1,887
Posted By stevefox
Questions on AWK
Hi,
Could someone tell me how to use a varible in the one of the sections of the awk command below which adjusts the spacing (i.e. "%-5s%-10s%-15s")?

echo "1 2 3" | awk ' {...
6,498
Posted By stevefox
ghostdog74, Thanks for your reply. Your...
ghostdog74,
Thanks for your reply.
Your command is nearly perfect. It's returning everything except the line having the string "ERROR".

$ awk 'f&&f--; /ERROR/{f=2} ' 20071225.log
5678
8423...
6,498
Posted By stevefox
. ...
. .
6,498
Posted By stevefox
DeepakS, Thanks for your reply but the command...
DeepakS,
Thanks for your reply but the command failed with the error below :

$ sed -n '/ERROR/ { N; N; /./p }' 20071225.log
sed: Function /ERROR/ { N; N; /./p } cannot be parsed.

Also, I...
6,498
Posted By stevefox
In addition to my original question I want to...
In addition to my original question I want to find multiple occurrences of the string.

e.g. I have a file called 20071225.log with the contents below:

SUCCESS
1234
2433
SUCCESS
4321
6523...
6,498
Posted By stevefox
DeepakS, Thanks for your reply but I'm using...
DeepakS,

Thanks for your reply but I'm using HP-UX B.11.11 and that command doesn't work.

I know that it can be done using "SED" with the command below but I'm looking for a shorter method.
...
10,991
Posted By stevefox
Ok, Thanks alot Perderabo! Cheers Steve
Ok,
Thanks alot Perderabo!

Cheers
Steve
Showing results 1 to 25 of 119

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