Search Results

Search: Posts Made By: Bloke
2,286
Posted By Bloke
How do you print column 1 from comm output to a file?
Hi guys,

I have a script, which after running for 20 minutes,
produces a bunch of IPs. Due to a DHCP scope, some of these IPs
are not useable, so I would like to eliminate them from the final...
1,585
Posted By Bloke
backslashing periods
Hello,

I have a script which configures a system,
the configuration is currently manual and error prone.

I am writting a script, which currently uses hard-coded values.

I don't know how to...
6,499
Posted By Bloke
I bumped the thread, as you were slow replying. ...
I bumped the thread, as you were slow replying.
It is considered reasonable net etiquette to bump after that duration.

The thread in May has nothing to do with the post you replied to.
Nice to...
12,509
Posted By Bloke
How do you do this?
How do you do this?
6,499
Posted By Bloke
Thanks methyl...
Thanks methyl (https://www.unix.com/members/302038815.html)

I changed my script to use ps instead, the odd thing is, for a process with zero cpu usage, I'm getting back 42%
ps -eo...
6,499
Posted By Bloke
bump @methyl: I'd be very interested in...
bump

@methyl: I'd be very interested in finding out how to do the same with ps for a specific process.
6,499
Posted By Bloke
Thank you Franklin52 and mglenney, that is great,...
Thank you Franklin52 and mglenney, that is great, it now works.
I was beating myself up for an hour or more trying to get it to work.
this is the required output
[sroot@duqaMX52L-27253 dk]# cat...
6,499
Posted By Bloke
top output for a specific process to a file
Hi,

I have the following script, and it is driving me nuts.
It just hangs, I've tried all kinds of tricks, but it won't work.
I know it can, it is pretty straight forward.

It hangs when it...
2,859
Posted By Bloke
anyone bump?
anyone bump?
2,859
Posted By Bloke
bumpty bump
bumpty bump
2,859
Posted By Bloke
This is almost exactly what I'm looking for, but...
This is almost exactly what I'm looking for, but when I run it I get this instead...

PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
5418 sroot RT 0 44 26:25.82 ...
4,308
Posted By Bloke
Perhaps I should temporarily create a root like...
Perhaps I should temporarily create a root like account?
2,859
Posted By Bloke
top output for six processes with the same name, output changed from column to row
Hi,

I have a system under test, and I use a script that does a ps.
The output, is in the following format, it's basically the timestamp, followed by the rss and vsize.

09:03:57 68404 183656...
23,428
Posted By Bloke
+1 :)
+1 :)
4,308
Posted By Bloke
Long time since I visited this thread. I...
Long time since I visited this thread.

I found this link which describes what I wish to do, BUT
http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html
as this machine has...
2,108
Posted By Bloke
Compare all files in a directory to a threshold value
Hi guys,

I have the following, and would like to enhance it be be able to run it in the hard coded directory and compare each file in the directory with the expectedSizeHow would I go about doing...
4,606
Posted By Bloke
Prefix the current date and time to the output of ps
Hi,

I need to write a script, that will take the current date, time, and the output from [sroot@duqaMX51L-27253 ~]# ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm

and spit it...
4,308
Posted By Bloke
How odd is that! I thought I started a new...
How odd is that! I thought I started a new thread.
I've been posting to the internet for 15 years, never did that before!
4,308
Posted By Bloke
How to clone a 1950 with two 500GB drives in raid
Easy on Windows, but how do I do it on rhel4?
2,307
Posted By Bloke
thanks
thanks
2,307
Posted By Bloke
Sweet, what's NF?
Sweet, what's NF?
2,307
Posted By Bloke
grep NAME | awk '{print $4}' maybe :o
grep NAME | awk '{print $4}'
maybe :o
Forum: Linux 02-17-2009
6,374
Posted By Bloke
rhel 4 linux WOL wake on lan
Hi guys,

Two boxes on the same .23 subnet 192.168.1.x
The box I wanted to shutdown and restart remotely
went down, but didn't come back up when I used ether-wake 00:11:22:etc:etc:
The sleeper...
4,308
Posted By Bloke
I suspect part of the ssh login problem is that...
I suspect part of the ssh login problem is that on one machine it's username root, on the other it's sroot
Could that be the problem?
4,308
Posted By Bloke
# ssh-keygen -b 2048 dsa # This generates your...
# ssh-keygen -b 2048 dsa # This generates your key-pair
# Enter to save to /home/sroot/.ssh/id_dsa
# Enter passphrase (empty for no passphrase): Enter
# Saved in /home/sroot/.ssh/id_dsa.pub
# ssh...
Showing results 1 to 25 of 29

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