Search Results

Search: Posts Made By: garagonp
Forum: Red Hat 04-06-2011
5,238
Posted By garagonp
No it is not working, not returning what Im...
No it is not working, not returning what Im looking for, using:

ps -ef|grep pmon

I got all results like:

oracle 1683 1 0 Mar31 ? 00:00:00 ora_pmon_XXXX
oracle 2609 1 ...
Forum: Red Hat 04-06-2011
5,238
Posted By garagonp
ps not working in Linux
Hi guys, Im not a unix expert so this may be a basic question, I'm using this in solaris to get comm for oracle processes:

$ ps -ef -o comm|grep pmon

ora_pmon_XXXX
ora_pmon_YYYY

but when...
2,637
Posted By garagonp
Split a line
I guess this has a simple solution but can't figure out now.

having:

x="H:a:b:c"

to get H:

echo $x|awk -F: {'print $1'}


how can I put REST of line in another one? i.e.

echo...
Showing results 1 to 3 of 3

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