Search Results

Search: Posts Made By: rrstone
Forum: Red Hat 05-31-2011
20,217
Posted By rrstone
I suggest the following solution : hire someone...
I suggest the following solution : hire someone experienced in Unix/Linux system administration .
Forum: Red Hat 05-30-2011
20,217
Posted By rrstone
6GB of total 8GB used in cache . Looks memory is...
6GB of total 8GB used in cache . Looks memory is not a problem here .
Forum: Red Hat 05-30-2011
1,989
Posted By rrstone
rpm -e kernel-2.6.32 --nodeps will do ?
rpm -e kernel-2.6.32 --nodeps
will do ?
Forum: Red Hat 05-30-2011
5,544
Posted By rrstone
I would suggest to use keys authentication ,...
I would suggest to use keys authentication , instead of fighting expect scripts .
Forum: Red Hat 05-30-2011
20,217
Posted By rrstone
Linux uses every byte of memory available for...
Linux uses every byte of memory available for buffers and caches .
95% usage is good , actually . I bet most of it used in FS cache .
Forum: Solaris 06-14-2010
12,395
Posted By rrstone
I am sorry , which part of the debugger output...
I am sorry , which part of the debugger output looks unfamiliar to you ?
You start with [9] and go down through calls .
Forum: Solaris 06-12-2010
12,395
Posted By rrstone
If the application was compiled with debug...
If the application was compiled with debug symbols you can try to find out where it crashed ( use gdb ) .
You will need the core file AND the application ( binary + so files , if any ) .
You...
Forum: Solaris 05-26-2010
8,319
Posted By rrstone
#!/bin/sh while read line; do grep...
#!/bin/sh

while read line; do
grep -qw "$line" file2
[ $? -ne 0 ] && {
echo "$line"
}
done < file1
Forum: Solaris 05-26-2010
8,319
Posted By rrstone
"The following error occurs: syntax error at...
"The following error occurs:
syntax error at line 7: `done' unexpected"

I am sorry , there are 4 lines in my script .
11,393
Posted By rrstone
replace user's shell with something that does log...
replace user's shell with something that does log it .
As for "administration purpose" - you are on thin ice here , IMHO .
Forum: Solaris 05-26-2010
8,319
Posted By rrstone
while read line;do while read line;do grep...
while read line;do

while read line;do
grep -qw "$line" FILE2
[$? -ne 0 ] && { echo "$line" }
done < FILE1
2,996
Posted By rrstone
I am not sure that difference between bash and sh...
I am not sure that difference between bash and sh ( BTW check what really /bin/sh is ! It can be link ) will garble your output .
2,996
Posted By rrstone
I'd check environmental variables under cron . ...
I'd check environmental variables under cron .
pay special attention to IFS , PATH , LD_LIBRARY , and PERL*
set in crontab :
min hour * * * env > /tmp/env
and examine /tmp/env
11,393
Posted By rrstone
man script man screen
man script
man screen
Forum: Programming 05-26-2010
2,088
Posted By rrstone
use eval
use eval
48,928
Posted By rrstone
heh , I always do find . -type f -print0 |...
heh , I always do
find . -type f -print0 | xargs -0 ls -lh
You never know what you can get in file name and white space is just simple case ...
2,161
Posted By rrstone
pmap -x pid
pmap -x pid
22,032
Posted By rrstone
On my OpenSolaris 10 , locale is "C" . and...
On my OpenSolaris 10 , locale is "C" .
and the date output is what you want .
3,666
Posted By rrstone
Wrong , at least in version 2.1.6 of EasyTag you...
Wrong , at least in version 2.1.6 of EasyTag you can move files according to their tags .
3,614
Posted By rrstone
J will merge 2 lines . Go to the end of line...
J will merge 2 lines .
Go to the end of line , press J and next line will be appended .
I am not sure you want to do it for large file manually .
13,216
Posted By rrstone
my $somefile = "/tmp/whatever" ; sub store ...
my $somefile = "/tmp/whatever" ;

sub store {
my $what = shift ;
open my $file , ">$somefile" or die "$!" ;
print $file "$what" ;
close $file;
}

sub read_it {
open my $file...
Forum: Programming 01-06-2010
2,174
Posted By rrstone
Java Native Interface - Wikipedia, the free...
Java Native Interface - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Java_Native_Interface)
13,216
Posted By rrstone
Store result in file . Next time read the file...
Store result in file .
Next time read the file and increment .
"File" can be file , DB , whatever persistent .
3,408
Posted By rrstone
sh/ksh/bash a=`perl perlscript.pl`
sh/ksh/bash

a=`perl perlscript.pl`
3,614
Posted By rrstone
are you sure that you are talking about "real"...
are you sure that you are talking about "real" new line inside the text ?
It seems you are talking about visual representation .
do :
tput cols
If the result is 74 or near it - we have...
Showing results 1 to 25 of 49

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