Search Results

Search: Posts Made By: gomes1333
11,232
Posted By gomes1333
/var/adm/messages vs /var/log/messages
The /var/adm/messages in Solaris seem to log more system messages/errors compared to /var/log/messages in Linux.

I checked the log level in Linux and they seem OK.

Is there any other log...
Forum: Red Hat 04-05-2010
6,023
Posted By gomes1333
Check if killall exist in the /sbin directory??? ...
Check if killall exist in the /sbin directory???

Show the entry that you have in your cron.
4,053
Posted By gomes1333
Help! CPU consumption - %usr and %sys ??
On Linux, top shows how much % of CPU is consumed by "user" as well as "sys" like below.

Tasks: 272 total, 3 running, 268 sleeping, 0 stopped, 1 zombie
Cpu(s): 65.9%us, 33.8%sy, 0.0%ni, ...
1,368
Posted By gomes1333
replace.txt
replace.txt
1,368
Posted By gomes1333
thanks. I have the replacement lines in...
thanks.

I have the replacement lines in stored in a file. how does it work in that case?
1,368
Posted By gomes1333
Replacing a word with a buch of lines
Input file:




I want to replace "change" with the below lines


What is the best way to replace it?
5,663
Posted By gomes1333
SSH_CONNECTION gives me the last remote host from...
SSH_CONNECTION gives me the last remote host from where I hopped.

I would like to find which local host initiated it. In my example, sitting on A2 host, i want to find that L1 originated the...
15,880
Posted By gomes1333
Thanks a lot for all the info !
Thanks a lot for all the info !
15,880
Posted By gomes1333
Thanks, Alister and Frans. The perl -pi did the...
Thanks, Alister and Frans. The perl -pi did the job for me.

Alister - I have one question.. What is the advantage / necessity to preserve the same inode?
5,663
Posted By gomes1333
Help! How to find the local host after few ssh hops to remote host???
I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1.

When I do a who -m from A2, I see the "connected from" as "A1".

=> who -m
userid pts/2 ...
15,880
Posted By gomes1333
Hi Frans! Tried that already. The "-i" is...
Hi Frans!

Tried that already. The "-i" is not a valid option in my Solaris machine.
1,671
Posted By gomes1333
try this... h=`sed -n '57p' filename`
try this...

h=`sed -n '57p' filename`
15,880
Posted By gomes1333
How to use sed to replace the a string in the same file using sed?
How do i replace a string using sed into the same file without creating a intermediate file?
Showing results 1 to 13 of 13

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