Software :: Top Command Version 3.2.6 Invalid Results Compared To CollectD?

Mar 11, 2011

I am trying to get the correct CPU usage using top. I ran collectD and I got different results.This especially happens when the CPU usage is close to 100%.Has anyone experienced having the top command report different results than other CPU usage utilities?

View 5 Replies


ADVERTISEMENT

General :: Saving The Results Of The Time Command While Discarding The Results Of The Command Being Timed

Apr 6, 2010

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:

$ time ./foo > /dev/null >> output_from_time_command.txt

View 1 Replies View Related

General :: Vgdisplay -v -D Results In Invalid Option -D In Rhel 5.5 - Tikanga

Jul 15, 2010

Any idea when the -D option was withdrawn ? I could not find much information on this . Also, what exactly is the difference between vgdisplay -v -D and just vgdisplay -v .

View 6 Replies View Related

Ubuntu Servers :: Collectd-exec Not Working?

May 11, 2010

using 10.04 and i can't get this to work any ideas?relevent bits from collectd.conf

Code:
LoadPlugin exec
<Plugin exec>

[code]....

View 2 Replies View Related

Ubuntu Installation :: Grub And 9.04 - Error "invalid Command" Or "invalid Execution Format"

Aug 16, 2011

Bottom Line: Dvd Drive died in my toshiba laptop and it was replaced (not before tech for some reason reformatted the Win7 partition... which was 100% un-needed, but thats beside the point now. I redid win7 (the tech installed vista) and am TRYING to "redo grub". Facts: The Slackware AND Ubuntu Partitions ARE STILL THERE and when i use SuperGrub Boot CD (which doesn't restore my grub by itself) to boot into slackware, i can see ALL THE CONTENT of both Linuxes still there including grub on ubuntu partition

(Tri-Boot: Ubuntu, Slackware, and WIn7) I had it working for two years or so, SO i know this "setup" works fine. I am A) Trying to do this as simply as possible. B) Trying to avoid the need to download a 800MB ISO (as seen for this issue on this forum) and trying not to have to reformat Ubuntu Partition (though I have the .Debs I have downloaded for it backed up ... all 1.7GB of them) I have /dev/sda1 as win7, /dev/sda2 as Slack and /dev/sda3 as Ubuntu (which contains Grub Legacy).. Every command I do seems to result in an error like "invalid command" or "invalid Execution format " (i think that second one is right) type errors. I compiled (awhile back) a few kernels for Slackware, but feel goofy that I cant figure what i this out (what i thought was going to be a "2 minute" fix)

View 4 Replies View Related

Ubuntu :: Can't See Results Of Job Scheduled With The 'at' Command

Oct 5, 2010

I scheduled a job, 'ls -a', with the at command, 3 minutes in the future. It looks like the job ran, but I cannot see the results of 'ls -a'. I accessed my mail with the 'mail' command and saw that the output of my scheduled job was message 1. I typed in '1' after the & prompt, and saw that the subject of the message was the output of my job, scheduled at the time specified with the 'at' command. I cannot see the output of the 'ls -a' command that I scheduled though. How do I see the contents of the message, and the actual output of the job.

View 1 Replies View Related

Ubuntu :: Mirror For X86 Jaunty Floating Around - Getting Prompt Invalid Version

Jan 12, 2010

I'm running Koala in x86 now and ran into a few kernel problems. When I tried to report them I got a prompt telling me I didn't have a valid version of Ubuntu. I'm wondering if theres still a mirror for x86 Jaunty floating around? This is also prompted by the fact that I couldn't set my graphics right thanks to a lack of drivers

View 2 Replies View Related

Ubuntu Installation :: DPKG - Invalid Character In Version Number

Oct 29, 2010

# sudo dpkg -i vasre-se-1.1.1~Debian_5-i386.deb dpkg: error processing vasre-se-1.1.1~Debian_5-i386.deb (--install):
parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'vasre-se':
error in Version string '1.1.1~Debian_5': invalid character in version number
Errors were encountered while processing:
vasre-se-1.1.1~Debian_5-i386.deb

I did install same package ok in 10.4 but now after I upgrade to 10.10 I am getting this error. I have already tried:
# sudo dpkg --clear-avail
# sudo aptitude update
# sudo aptitude upgrade

View 1 Replies View Related

Ubuntu :: Sort Command Gives Unsorted Results?

Jul 15, 2010

It sure looks not quite sorted to me. See lines 3 and 4.

Code:
altair/root /root 250# sort -k1 < files.out | head -6
/bin base-files
/bin bash
/bin/bash bash
/bin bsdutils

[Code]...

View 9 Replies View Related

Programming :: TCL / Expect - IF Results Are Different Then Send A Command?

Dec 11, 2010

trying to see IF i dont get the right results repeat the command until it will or quit after 3 tries....

expect -exact "->"
send -- "test_read_register 0,0x37
"
if {! [regexp {Address 0x00000000} do send -- "test_read_register 0,0x37

[code]....

It should read

Read: Address 0x00000037, Data: 0x0000000b

but sometimes it comes out to this

Read: Address 0x00000000, Data: 0x00000000

therefore ill have to run the command again IF I Dont get the right results...

View 1 Replies View Related

General :: Tomcat - Why Does 'ls' Command Return Some Results In [squarebrackets].jar

Nov 25, 2010

Below is an example output of what I see when I run the 'ls' command on some directories in linux (this is from a tomcat/common/lib directory). However I'm not clear on why some of the filenames are appearing inside [square brackets]

-rw-r--r-- 1 root root 1038825 Aug 30 2006 [ant].jar
-rw-r--r-- 1 root root 566376 Apr 1 2008 [commons-collections].jar
-rw-r--r-- 1 root root 107392 Aug 18 2006 [commons-dbcp].jar

[code]...

View 2 Replies View Related

General :: Unix - Cat Command To Save Results Of Other Commands

Nov 26, 2010

This question may be silly and super easy for linux connaisseurs, but I was just wondering, for instance, I want to use the >find command to search for a file and send the results to a text file

View 5 Replies View Related

Ubuntu :: Different Results When Running In Command Prompt And Via Script?

May 26, 2010

i wonder if it is usual that the results of running commands via the command line is different from running them in a script file. my problem is that, i've to run 'modprobe -r e100' and 'modprobe e100' before suspend my machine via pmi in order to resume it properly. i wrote a script containg EXACTLY the same commands as i typed in the terminal/console but the result was not the same. the machine cannot be resumed as expected if i run the script file.

View 2 Replies View Related

Ubuntu Servers :: Shutdown Command Results In Lock Up

May 2, 2011

When I shutdown my server it seems to lock up. I use ssh for a headless unit and I can reboot fine, but I told it to shutdown and disconnected me and stopped logging (as far as I can tell) and then nothing. The lights stayed on and I had to press the power button. Is there a way to keep the logger running or to look someplace other then messages. I'm not great with logs.

View 8 Replies View Related

General :: Output To A Text File, The Results Of Compound Command?

Jul 28, 2010

How to output to a text file the compound command:

Code:
find -type f -print0 | xargs -0 grep -l "desired text"
I have not been able to find the answer.

[code]...

View 5 Replies View Related

General :: Include Command Results To Send To Admins Via Mail

Jul 16, 2010

how to include my command results in a script? Basically what the script does is it checks the status of a service within the linux server, then sends an email when done. I want to include the results of my status check to my mail when sent.

i.e.
service dhcp3-server status Status of DHCP server: dhcpd3 is running. <---this I want to include in the mail that is sent out via script.

View 6 Replies View Related

General :: Reusing Find Command Results In Mplayer Arguments?

Jan 22, 2010

I wanted to supply mplayer with the output of find command as arguments. The error returned showed spliced names of files whenever spaces occurred. I have subdirectories in my /home/my_user_name/Music/ directory, and in them multiple *.oga music files. The actual command that I issued was

Code:
mplayer $(find /home/my_user_name/Music/ -name "*.oga")

mplayer started but then was looking for broken file names. I am thinking quoting has to do with it to preserve the filename as one string but different attempts were met with inroads:

Code:
mplayer `find /home/my_user_name/Music/ -name "*.oga"`
gave me the same result and
Code:
mplayer `"find /home/my_user_name/Music/ -name *.oga"`

complained about wrong mplayer syntax.

View 1 Replies View Related

Ubuntu :: Send The Results Of A Command Line $du -max-depth=1 To A Zenity Message Box?

Jun 14, 2010

I'm trying to send the results of a command line $du --max-depth=1 to a zenity message box.I want to create a .sh script that I can run as a Nautilus script that will open a zenity message box with a listing of sub-folders/sizes. $DU with options, will provide the results in a terminal window, but I can't seem to get it into a zenity message box. I've tried gxmessage also, but no go.

View 2 Replies View Related

Networking :: Invalid Argument With Iwconfig Command

Jan 31, 2011

I am trying to connect to a wireless network. I got a problem with network manager. So I try to connect manually

I found wireless network around by using "iwlist scan" command.

I want to connect to a network with ESSID "MCC(Mandalay)" and Key "mdymcctraining"

Here is my problem The output of "iwconfig" command is

Code:

What does it mean "invalid argument"? It means that my wireless pre-sharedkey is not correct? I am sure the key is valid. It is used by any others with window 7.

View 1 Replies View Related

General :: Cannot Run ARPD Command - Invalid Argument

Aug 17, 2010

I've a problem when I try to run arpd program to support my honeyd software but when I try to execute it then it shows this error message
./arpd 10.0.0.0/8
arpd: intf_get: Invalid argument
My arpd installation based on this tutorial [URL].

View 2 Replies View Related

Server :: Apache - Invalid Command 'SetEnvIfNoCase?

Jun 4, 2011

Apache is complaining about an error with SetEnvIfNoCase when I tried to start it. I've checked that the module /usr/local/apache2/modules/mod_rewrite.so exists. Also the 2nd code block below shows that I'm using the <IfModule rewrite_module></IfModule> tags so if the module isn't available, Apache shouldn't have read that part of the file. The fact that it's reading inside that tag pair means it's able to load the mod_rewrite.so DSO.

Code:
[root@test httpd-2.2.19]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 203 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'SetEnvIfNoCase', perhaps misspelled or defined by a module not included in the server configuration

[Code]...

View 7 Replies View Related

Server :: Error Invalid Command 'AuthLDAPSubGroupDepth

Aug 26, 2010

i enabled LDAP authentication for group in apache2.2 is working fine. When i enabled sub group search using AuthLDAPSubGroupDepth 1 is showing error Invalid command 'AuthLDAPSubGroupDepth', perhaps misspelled or defined by a module not included in the server configuration here below the ldap coding for apache2 running in ubuntu 10.04

AuthzLDAPAuthoritative on
AuthType Basic
AuthName "xxxxx"
AuthBasicProvider ldap
AuthLDAPSubGroupDepth 1

[Code]...

View 1 Replies View Related

Programming :: Code Omitted And Invalid Command

Apr 22, 2011

I am getting following error during execution of the example program

[root@localhost NSExamples]# ns example1b.tcl
ns:
[code omitted because of length]
: invalid command name "4"
while executing
"4 "
[root@localhost NSExamples]#

i ran the same program successfully but after placing a protocol i couldnt run this

View 2 Replies View Related

Programming :: KSH - Script Error - Invalid Command ?

Aug 3, 2010

Essentially my ksh script calls a program and passes some commands. It's entering the program just fine, but when it passes the commands it gets "invalid command" error, and loops for a bit.

When I run all the steps manually the program works fine. I turned debug on and see that it enters the program, cmbview, but for whatever reason, it fails on any command that it tries to parse.

Tried running it in a ksh shell, same error. Tried running it as bash shell, same error.

The cmbview exe works and the following commands work, so I can only assume its something with the script parsing the commands.

View 2 Replies View Related

Ubuntu Servers :: Apache2: Invalid Command 'PHPINIDir', Perhaps?

Apr 19, 2011

I've recently been trying to secure my Apache2 server running suPHP on an Ubuntu 10.10 box. My ideal solutions are to

1) Specify a specific php.ini on a per virtualhost basis. I have tried using the PHPINIDir directive inside a virtualhost block in my 'sites-available/default' file, but the parser throws an error

Invalid command 'PHPINIDir', perhaps misspelled or defined by a module not included in the server configurations I have figured out that the reason this directive is not recognized is because my server is running mod suPHP instead of mod php5. The default site on the server requires suPHP to perform certain administrative functions. First question would be, is there some other way to specify a specific php.ini besides using PHPINIDir, or does anyone have any ideas of how to get PHPINIDir to be understood under the current configuration?

2) Activate/Deactivate php5 on a per virtualhost basis. This will allow me to use PHPINIDir to specify a specific and secure php.ini. I know that I have php5 installed, as 'a2enmod php5' with a restart will activate php5 and override suPHP. Does anybody know what the commands would look like to load the php5 modules from inside a virtualhost block? I have looked around on the internet and found these two lines of code to add that will supposedly activate php5 under a virtualhost

LoadModule php5-module modules/libphp5.so
AddHandler php5-script php
I do not have a 'modules' directory in my /etc/apache2 folder, so I did a search for libphp5.so and found the only copy on my machine located in /usr/lib/apache2/modules. Naturally, I tried
LoadModule php5-module /usr/lib/apache2/modules/libphp5.so
AddHandler php5-script php
but received an error
apache2: Syntax error ...: Can't locate API module structure 'php5-module' in file /usr/lib/apache2/modules/libphp5.so

Surely I can't be the only one who's needed to specify different php.ini files for different virtualhost's while using suPHP, and I'd also have to assume I'm not the first one who's tried to integrate suPHP and php5 on a per virtualhost basis. Anyone have any ideas? I'm completely stuck, and that's the worst kind of stuck. The Apache2, suPHP, and php5 installations on my machine are standard for Ubuntu 10.10

View 1 Replies View Related

Ubuntu Servers :: Apache2: Invalid Command 'AssignUserId'?

May 5, 2011

I just reinstalled my server with Ubuntu 11.04 and I am now trying to put my websites back in place. The problem is that the configuration directive AssignUserId is no longer working. I simply get this:

Code:
root@silvertejp:/etc/apache2/sites-available# service apache2 startStarting web server apache2 Syntax error on line 12 of /etc/apache2/sites-enabled/finn:

Invalid command 'AssignUserId', perhaps misspelled or defined by a module not included in the server configuration This worked fine on Ubuntu 10.04. Should I install some module? How?

View 1 Replies View Related

Ubuntu Installation :: 11.04 - Unable To Boot - Invalid Command

May 24, 2011

I recently installed Ubuntu 10.04LTS on my computer and realized I wanted to give 11.04 a try. So, using the Update Manager both times, I applied all updates then upgraded to 10.10 then to 11.04.

Here's where the problem starts. Grub loads fine. I choose Ubuntu. I briefly get a purple splash screen then a black screen with some text that looks like Ubuntu is trying to load (I've attached a picture of this screen). This screen flashes a couple times then stays up and nothing happens afterwards. I can input text and commands but I get no response. Not even an "invalid command". The only thing I can do is press CTRL+ALT+DEL and my computer will reboot.

I have Ubuntu installed alongside Windows 7 on a 50Gb partition (plenty right?), AMD 64-bit dual core processor, and an ATI Radeon HD 3200 graphics card. This is on an HP Pavilion dv3 laptop.

View 3 Replies View Related

CentOS 5 :: Pidof: Invalid Options On Command Line?

Aug 19, 2009

when i show status ricci on centos5.3x86_64 #service ricci status pidof: invalid options on command line pidof: invalid options on command line p is stopped how can i fix that bug ?

View 4 Replies View Related

Fedora Security :: Suddenly Root Password Invalid For Su Command?

Apr 9, 2011

I have recently installed Fedora 14 on a new computer we presented as a gift to my sister-in-law. She is new to Linux. Although I've used Fedora since Core 1, I'm no expert on security issues, and this baffles me. She's doesn't know how to change the root password, so why doesn't it work any more? She discovered the problem when attempting a yum update from a terminal.(1) How could the root password have gotten changed? How likely is it that someone got onto her system through ssh, made a lucky guess on her root password, and then changed it? Are there robots that do this?

(2) The firewall is enabled. I have it set up as follows: (a) under "Trusted Services," only ssh is checked (I need to be able to get in remotely this way); (b) under "Trusted Interfaces," I have eth0 checked (I need to be able to use VNConto her desktop).Question: Are these settings giving ample protection? What settings would be recommended to protect her system while at the same time allowing me to access it through ssh and VNC?

View 8 Replies View Related

Ubuntu Servers :: Starting Apache / Getting Error Invalid Command?

Oct 20, 2010

I am trying to install Zend Server, and that went well. Apache and all the other items were installed.

But when I go to start Apache, I get this error:

Quote:

root@laptop:~# /etc/init.d/apache2 restart
* Restarting web server apache2 Syntax error on line 6 of /etc/apache2/sites-enabled/zendserver_gui.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
[fail]
And on line 6: php_admin_flag tidy.clean_output off
The rest of the file is below:

Quote:

# Warning: Modifying this file will break the Zend Server Administration Interface
Listen 127.0.0.1:10083
NameVirtualHost 127.0.0.1:10083
# do not allow override of this value for the UI's Vhost as it should always be off when generating non-html content such as dynamic images
code....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved