Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: Gromit
Forum: Shell Scripting May 5th, 2009
Replies: 2
Views: 628
Posted By Gromit
That's really odd... It works OK on my system:


$ sed -f DBACheck.sql.sed DBACheck.sql
select granted_role from sys.dba_role_privs where grantee='SYSTEM';



What version of sed are you...
Forum: Shell Scripting Nov 5th, 2008
Replies: 1
Views: 876
Posted By Gromit
Wow, that's a lot of pipes! I would do it something like this:


awk '{TotCPU += $1}{TotMem += $2}END{print "Total CPU= " TotCPU "\nTotal Mem= "TotMem}' test.list


Kinda ugly all in one...
Forum: *nix Software Nov 2nd, 2008
Replies: 4
Views: 1,493
Posted By Gromit
One thing to remember about 'sudo su' is that it's not a 'login shell' by default. If you use 'sudo su -l' ('sudo su -' for short) then you'll inherit all of the root user's environment variables,...
Forum: Shell Scripting Sep 22nd, 2008
Replies: 6
Views: 1,804
Posted By Gromit
If all that's in that directory is the sym links to the files that you want to tail, try something like this:


for i in $(ls /path/to/directory); do tail -n 21 $i; done


Let us know how it...
Forum: *nix Software Sep 11th, 2008
Replies: 2
Views: 664
Posted By Gromit
Hi k2k,

There are a few options. Usually, if you're the root user, these things are in your "PATH". Are you by any chance logging in as another user, and using the "su" command to get to root? ...
Forum: *nix Software Sep 8th, 2008
Replies: 7
Views: 1,907
Posted By Gromit
Yeah, haven't worked with Xen much myself. That could be it! Let us know what you find :)

-G
Forum: *nix Software Sep 5th, 2008
Replies: 7
Views: 1,907
Posted By Gromit
Hi Mike,

That's certainly an odd problem... Let's compare the output of these commands:

$ date "+%a %d %b %Y %X %Z"; hwclock; ntpdate pool.ntp.org

That'll tell us if there are any...
Forum: *nix Software Sep 5th, 2008
Replies: 6
Solved: telnet problem
Views: 1,227
Posted By Gromit
Here's another problem:

"however, the dyndns.com auto detector detects another ip, i have to manually change it to 192.168.1.5 so i can do ssh at home"

dyndns is detecting your "public" ip...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC