Server :: Mpstat Output Interpret And Process Info?

May 19, 2011

I've got a system that is maxing out CPU. Running "mpstat -P ALL 3 5" shows the following.

Quote:

08:30:21 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
08:30:24 PM all 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1001.00
08:30:24 PM 0 100.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1001.00

[code]....

All 5 groups show the same. My first question is why would CPU0 be the only one with intr/s and the others do not? Info.The OS is RHEL 5.4 running as a VM on ESXi 4.1. Memory doesn't appear to be an issue, the system has 8 GB and its only using about 1.5 GB. Second question, I'm positive the process that is the problem is the tomcat process. Does anyone know a good way to see whats happening with a specific process?

View 6 Replies


ADVERTISEMENT

General :: Find Description Of Mpstat Output?

Feb 19, 2010

I'm wondering where I can find description of mpstat output?.. I'm talking about the output of all available counters presented by mpstat. For instance:

Code:
$ mpstat -Au
Linux 2.6.31-19-generic (lenovo-S102) 02/19/10 _i686_(2 CPU)
17:32:15 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
17:32:15 all 36.00 0.18 10.39 0.73 0.08 0.03 0.00 0.00 52.60
17:32:15 0 36.81 0.15 11.58 1.14 0.16 0.04 0.00 0.00 50.11
17:32:15 1 35.26 0.22 9.31 0.34 0.00 0.02 0.00 0.00 54.86

[Code]...

View 4 Replies View Related

General :: Get Bash Not To Interpret The Output Of A Backquote Command?

Oct 13, 2010

I'm having trouble with a bash script. I have something like this:export VAR=`command`The problem is that "command" can return this: "** NONE **". bash will then replace each of the * by the list of files in the current directory.I want the output to be uninterpreted (i.e. VAR should contain "** NONE **", not "list of files list of files NONE list of files list of files"). It shouldn't be hard but I am unable to figure it out, and I'm not sure how to phrase the problem,

View 1 Replies View Related

General :: Use The Man / Info / Apropos Pages - Character Instructed The Shell To Interpret A Special Character As An Ordinary Character?

Mar 27, 2010

1.What character instructd the shell to interpret a special character as an ordinary character?

2.What directory contains some of the utilities available on the system in the form of binary files?

3. What command is used to search the location of a utility?

4. What command is used to instruct the editor to write the file and quit the editor?

5. What key quits the more utility and displays the shell prompt?

6. What command starts a child shell as the super user, taking on root's identity and environment?

7. Which wildcard characters can be used for searching all the files in the system that start with "A"?

8. The user name or login name of the super user is????

[Code]....

View 10 Replies View Related

Server :: Set Process To Output To Apache2 Directory?

Aug 13, 2010

it seemed like the most accurate place. Also apologies for any inaccurate terminology, I'm a bit new at this. Running Apache2 on top of Debian 5.0

Anyway, I have irssi set to output logs to a folder accessible by my web server. User permissions are all set up, so it writes to the folder just fine, but when I access the server index in a web browser (i.e., page that says "index of /[directory] at the top) I cannot see the the directory or the logs that irssi is making. I can ssh in and see the folders and files in the terminal, so they are being created. How can I set it so these are viewable through the web server? I tried restarting the server, no effect.

View 1 Replies View Related

General :: Interpret The Output Of The "time" Command?

Sep 21, 2011

time a.out
106.130u 0.000s 1:46.28 99.8% 0+0k 0+0io 83pf+0w

As per my understanding of the man page:

the first value is the time since the code execution started and ended,
the second values is the time spent in usermode
the third one being in kernel mode

Is the 99.8% indicating time spent in kernel mode?

Also, what does this indicate?

0+0k 0+0io 83pf+0w .

The program definitely takes more than a minute to execute - then why is the first value so small?

View 2 Replies View Related

General :: "rpm -Va" How To Interpret Output ?

Sep 8, 2010

To understand the output of rpm -Va on my server?

The last few lines look like this:

Code:

I know that "c" means configuration file.

The man page explains the other codes

Quote:

But here's my question. Should I worry about rpm reporting so many file changes? And is there anything I should do?

This is a dedicated server. The host reformatted and reinstalled the software on August 24. A lot of the listed files are like this:

It looks as though the files weren't pulled from the repository but installed some other way by my host?

View 6 Replies View Related

Programming :: Get System Info Like Up Time - No Of Process ?

May 26, 2010

I want to get system info like up time, no of process etc. for up time i got the got from net but it is giving me error. i.e.

error:

Following is the code i m using

Code:

Whats wrong with the code?

View 2 Replies View Related

Slackware :: 13.1 - Firefox 3.6.6 Not Opening - No Terminal Info Output

Jun 28, 2010

Firefox does not open under any circumstances, it's allocated in the memory and has it's process ids, but the browser is not opened at all. There's not terminal output when ran in terminal, no dmesg, debug..., nothing.

The only info I could give:

Terminal try:

Code:

Code:

So, I really don't know what's happening, if someone have some light to shed, I'd be glad.

Slackware 13.1 32-bit x86, package is mozilla-firefox-3.6.6-i686-1.

View 14 Replies View Related

General :: Writing Directory Info Output - Group Msngrp

Dec 4, 2010

I have a directory structure in my system (linux) as shown below

[Code]...

I have two owners steve and scott I have one group msngrp I want to write output as below

[Code]...

View 8 Replies View Related

Ubuntu :: Output Data To Running Process In Terminal?

Jul 10, 2011

There is text based game in the Ubuntu repos called gomoku (just 5 in a row) it comes with the package bsdgames. The manual page [URL] lists an option (-b) to run it in the background. I want to try that and if I know how it works create a simple graphical front-end. When I start the program with:

Code:
gomoku -b

it starts and remains active, the terminal does not return to prompt which is OK as the command is not finished. The manual says the program reads from stdin, and this might sound stupid but how to get anything there?

I've tried to pipe an echo command to gomoku which works but ends the program after is receives input.

Code:
echo "black" | gomoku -b

just finishes. After that when you type another command like:

Code:
echo "justsometext" | gomoku -b

gomoku tells it expects either black or white as input. So it forgot the previous "black" because it is a new instance.

How do I pass text to an already running gomoku?

View 2 Replies View Related

General :: Process The Output Of A Locate Command, Pipe It To What?

Sep 30, 2010

Is there a way to process the output of a locate command on the spot within bash. The output is 3 lines, ex:

Code:
[root@server confluence]# locate .timestamp
/opt/confluence/confluence-persistent/index/.timestamp

[code]....

View 3 Replies View Related

Programming :: Redirecting The Output Of Child Process To New Xterm?

Aug 2, 2010

I am developing a application. In this I fork() 3 childs(lets say child1 , child2, child3) . The parent is now waiting for some input from keyboard.Child3 is continously getting data from child1 and child2 using pipe which it then will print using printf.Now as the parent is waiting for input from user through keyboard while child3 is continously printing the data. I want to do it in different terminals.Can you please guide me how to proceed ahead so that on one terminal , the parent waits for input fromser while on other terminal child3 prints data.

View 1 Replies View Related

Programming :: Expect: Prevent Output From Spawned Process To Appear On Stdout?

Jul 3, 2009

I have this expect process:

Code:
spawn -noecho telnet my.host.com
expect {

[code]...

View 3 Replies View Related

Programming :: Shell Script Ssh : Eliminate Login Process Output?

Jun 1, 2009

I use tcl-expect script to ssh to the server. How can I eliminate the first 2 lines if using system(./script.sh) to execute it, as the default output will be shown on shell and the first 2 lines are included.

Essentially I just want to have the "ps" result, not the login process. code...

View 1 Replies View Related

Programming :: Going Through A Multi-step Process To Produce Output Files, Which Involves 25,000 Greps At One Stage?

Nov 8, 2010

I am going through a multi-step process to produce output files, which involves 25,000 greps at one stage. While I do achieve the desired result I am wondering whether the process could be improved (sped up and/or decluttered).input 1set of dated files called ids<yyyy><mm> containing numeric id's, one per line, 280,000 lines in total:

Code:
123456
999996

[code]....

View 14 Replies View Related

Ubuntu :: Can't Install Update-info-dir File Is Missing From /var/lib/dpkg/info/?

Aug 6, 2010

so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).

View 9 Replies View Related

Server :: Need Info On Ovzkernel-PAE 2.6.18-53 Package For RHEL 5 2.6.18-53 Server

May 24, 2010

I have a RHEL 5 server with 32 bit architechture that is not recognizing more that 4 GB of RAM and I am trying to locate a version of the kernel-PAE package that will work well with the 2.6.18-53 kernel. I found something on Open VZ called ovzkernel-PAE that is built for the 2.6.18-53 kernel [URL]

and wanted to find out if there were any known issues with this release before I attempted to install it. Is anyone aware of any issues with any rpms on openvz.org or with this particular rpm in general?

View 1 Replies View Related

Fedora :: F14 Does Not Interpret Correctly

Jan 21, 2011

Ah, this time you've really screwed it up without covering you traces: F14 does not interpret correctly my (possibly botched up) ACPI tables and HANGS!!! With acpi=off I have to press the power button to switch my desktop off and that is really ANNOYING. Surely the Fedora engineers could have done a better job with this one.

View 14 Replies View Related

Programming :: Unable To Interpret The Ns2

Mar 21, 2011

i am getting the following errors when i was using iNSPect

[root@localhost iNSpect_4_beta_3]# ./iNSpect -c out.conf -l2 out4.tr
WARNING: packetString in config file not set. Using default of " ".
WARNING: simulationSpeedAtInit in config file not set. Using default of ".01".
WARNING: simulationSpeedMinimum in config file not set. Using default of ".005".

[code].....

View 5 Replies View Related

Ubuntu :: How To Interpret FDisk And DF (Seems Conflicting)

Apr 25, 2011

It looks like I have one hard drive (30 GB) with three partitions, but df says my primary partition is under 9 GB? Shouldn't it be much larger?
Code:
$ sudo fdisk -l
Disk /dev/sda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004b8d0 .....

View 4 Replies View Related

General :: How To Interpret Readings Using TOP Command

Aug 2, 2010

I am using Linux as my OS and using TOP command to measure the system performance. From the readings using the TOP, I have observed the following

(1) The used memory increase significantly from 7% to 99% over sometimes? Is there a sign of memory leak? Does OS play a part in used memory? Will system performance be affected? Will system crash due to 99% used memory?

(2) What is the difference between Memory Buffers and Cached?

(3) From the readings, it was observed that Buffers readings decrease, whereas Cached readings increase over time.

(5) Should TOP be used to take readings for system performance (memory & CPU usage)? What is the recommended method to take readings?

Whereas, my applications only consume a bit of memory and CPU.

View 2 Replies View Related

Server :: How To Get Info About Current Timezone

Jan 13, 2010

I was wondering if there is a way of knowing what is the current set timezone for a linux server. I know that "date +%Z" gives the 3 letter abbreviation of the timezone, but then CST can be interpreted as Central Standard Time (US) and as China Standard Time. I'm looking for a way I could tell what is the real timezone, e.g. "Asia/Jerusalem", "Europe/London", etc. I know that I can set the timezone by symlinking /usr/share/zoneinfo/<Timezone Name> to /etc/localtime, but when I freshly install CentOS and choose my timezone, /etc/localtime isn't a symlink at all so I can't use this info...

View 3 Replies View Related

Fedora :: SELinux Vs Network Manager - How To Interpret

Feb 14, 2010

I have a number of errors captured by SELinux against NetworkManager - text of one of those is below. I'm not really sure how to interpret it

[code]...

View 1 Replies View Related

General :: Interpret Keyboard Characters Properly?

Feb 18, 2010

I access a linux server shell via putty, but many of the keys I use do not translate across, up, down, left and right all are seen as ^[[A, ^[[B, ^[[D and ^[[C; But so is C-up, C-down, C-left and C-right. And enter is seen as C-j (which move down to the next line), and backspace is seen as C-h, which is backwards delete.

How can I stop these keys being translated into other keys (so I can, for example, configure C-h and backspace to perform two different functions) and what's doing this translation (Putty, the kernel, the shell)?

View 4 Replies View Related

Ubuntu Security :: Interpret The 'dates' In Rkhunter.log?

Oct 6, 2010

I've got rkhunter installed and regularly do scans immediately before & after updates & if I get warnings about 'file property updates' after the update I use 'rkhunter --propupd' to give me a clean run.I'm about to setup a ubuntu computer for my nan, I want to enable automatic security updates so she doesn't have to do anything to keep her system secure. I was planning on running rkhunter when I go to her house (about once a month) and check the dates in the resulting rkhunter.log warnings with those in the var/log/apt/history.log to see if legitimate updates caused any rkhunter warnings. I've noticed though that the 'Current file modifiation time:' in the rkhunter.log warnings are incorrect.

My system seems to be about 15 days behind the actual date, I've now run rkhunter --propupd so I have no warnings but got this one off another forum post to show what I mean:

Current file modification time: 1283341157 (01-Sep-2010 06:39:17)

I believe that the '1283341157' is the time in some strange format and the date in brackets is what rkhunter thinks it might be in human format.

1) How to interpret the 'strange date format' (1283341157 in the line above)?

2) If there's a way of configuring the date in rkhunter so that they're correct in rkhunter.log?

3) If there's a better way of keeping her system up-to-date & secure, it's her first computer & she's 86 so I think setting up automatic security updates is the way to go, it'll be one less thing to overwhelm her!

View 2 Replies View Related

CentOS 5 Server :: Need Info To Configure Squid?

Aug 5, 2009

I need information to configure squid proxy server in centos 5.3 i need that urgent.

View 1 Replies View Related

Fedora Installation :: How To Configure System To Interpret PHP Script

Jul 8, 2009

I used to configure and run PHP script in Redhat Linux System for a long time ago. Now I forgot almost everything in Linux. I downloaded and install Fedora 11 Live CD. Start httpd service(Appache). It does work with html but not PHP script. And I can't remember how to configure the system to interpret PHP script.

View 13 Replies View Related

Programming :: An Assembler Directive To Interpret All Constants In Hexa?

Jul 9, 2011

GNU assembler 2.17 And without having to prefix them. I'm skimming through as info page and can't find any pseudo operator or assembler directive of this type. E.g. 74 would be a decimal number. But I want it to be hexa 74 without the need to write 0x74.

NOTE: as is the GNU assembler.

EDIT: Google led me to discover this:

Quote:

If you write numbers without an explicit indication of the base, the most recent `.RADIX S' command determines how they are interpreted. However, on the one hand, it says the most recent and, on the other one, it applies to GASP, the GNU assembler preprocessor. IDK if it is the same as as (the GNU assembler).

View 2 Replies View Related

Server :: Server Status Command Output Getting Dumped To Smtp Server Instead Of A File?

May 24, 2010

I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.

View 2 Replies View Related







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