CentOS 5 :: Top Command Not Showing Command Option?
Mar 19, 2011
I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:
top - 09:30:29 up 72 days, 12:46, 2 users, load average: 0.21, 0.16, 0.15
Tasks: 122 total, 1 running, 120 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.8%us, 0.7%sy, 0.0%ni, 93.5%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
[code]....
View 3 Replies
ADVERTISEMENT
Feb 12, 2010
I'm using 2 cloned disks with CentOs5.3 and I need to be able to control which one is booted. I can specify which disk in the BIOS but after stage 2 it is always running from disk 2. When I have puppy linux on one disk and CentOs on the other I can boot off of either as selected by the system BIOS so the BIOS is not the issue. I think it is how the root option is passed in the kernel command in the grub.conf.
kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00
I think when the OS searches for the /dev/VolGroup00/LogVol00 share is locates 2 since the disks are clones and uses the last one found. On information I have found for the kernel command and the root option it appears CentOs uses it differently. CentOs uses a volume name as specified /dev/VolGroup00/LogVol00 instead of a partition designator /dev/hda2. Is there a different way to specify /dev/VolGroup00/LogVol00 in CentOS for the root option for the kernel command of grub.conf?
View 7 Replies
View Related
Jan 17, 2011
Code:
if [ -x /usr/bin/id ]; then
if [ -z "$EUID" ]; then
[code]....
View 4 Replies
View Related
Mar 8, 2011
In my server java based application is running and java usage showing some time 300% of usage in top command. on that time java application is getting some types errors. at that time i checked vmstat and sar commands also but they showing the free CPU. My server configuration as given below
Quote:
Processor Intel(R) Xeon(R) CPUX5670 @ 2.93GHz
No fo Cores 8
Ram :64GB
[code]....
View 2 Replies
View Related
Nov 17, 2010
$ ls one.tar.gz
one.tar.gz
$ tar -xvfz one.tar.gz
tar: z: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
$ tar -xvzf one.tar.gz
one
$ tar -xzvf one.tar.gz
one
$ tar -zxvf one.tar.gz
one
$
View 2 Replies
View Related
Mar 10, 2011
i've an issue in a firewall command i hope u help me on.when i try to type the following firewall command:iptables -A INPUT -s xxx.xxx.xxx.xxx -dport 8000:9000 -p tcp -j ACCEPTit gives me:Bad argument `8000:9000`it complaints about the port range and i cant see in problems in that.i also tried to change the order of the options but it never worked.one other thing,why it don't allow me to add -sport option in the above command?
View 1 Replies
View Related
Mar 18, 2010
I am trying to install Dynebolic 2.5.2 on my system.I copied the dyne/ folder into root of my partition(ie /) and updated grub as follows:
title Dyne
root (hd0,0)
kernel /dyne/2618ckld.krn root=/dev/ram0 rw load_ramdisk=1 max_loop=64 vga=788
initrd /dyne/initrd.gz
But on rebooting into dyne ,I get a command prompt .A part of what i saw is given below:
root:[!] you can safely reboot now or wait to enter a maintenance shell.
VOLATILE MODE : : opening a shell in ramdisk.
you are entering a maintenance sector whatever that means
[code]....
View 2 Replies
View Related
Sep 2, 2010
The Linux command for showing the different segments of a program. The output of the command should show me which elements go to stack, heap, and data segments.
View 3 Replies
View Related
Feb 8, 2011
I'm trying to use the dirs command with the +N option. The manual says: dirs [-clpv] [+n] [-n]Without options, displays the list of currently remembered directories. The default display is on a single line with directory names separated by spaces. Direc- tories are added to the list with the pushd command; the popd command removes entries from the list. +n Displays the nth entry counting from the left of the list shown by dirs when invoked without options, starting with zero.
dirs -v shows:
0 /dir1/
1 /dir2/
2 /dir3/
However, dir +n 1, dir +N 1, dir -v +n 1, dir -v +N 1 all give:
[Code]...
View 2 Replies
View Related
May 14, 2010
Does anyone know how? I want to add the command line option to the login to. So, I have Gnome, KDE and command line.
View 9 Replies
View Related
Aug 1, 2010
In the rpm manual, Print 50 hash marks as the package archive is unpacked. Use with -v|--verbose for a nicer display. But actually, there're not enough hash marks when I'm installing a package. About 44 hash marks there...Well, I just want to know where the `50 hash marks' are.
View 4 Replies
View Related
Feb 23, 2010
I'm sure this is a very simple task but I don't have a lot of experience with Linux. I need to view what my display adapters settings are, specifically the refresh rate. I have found plenty on how to change the settings but not how show its current setup. I am troubleshooting an vga splitter/extender issue on a digital signage unit where the master screen syncs up but the remote screen does not, I think it has to do with H-Sync V-Sync or refresh rate.
View 3 Replies
View Related
Jan 18, 2011
This is an extremely weird issue that I can't find any help with on Google. It is minor but extremely annoying.
When I type in a linux command in the terminal, (e.g. "ls -la"), and then press enter, the cursor goes to the next line and just sits there, as if its processing some long command.
If I press enter again, I see the ls output as well as my prompt twice. It's like the terminal window isn't auto-scrolling, but I've also seen this happen when there wasnt even enough text in the console screen to warrant a scrollbar. Has anyone seen this before and know what I need to do? I hope what I'm asking about makes sense.
View 3 Replies
View Related
Mar 1, 2011
i need to add the date of the root of the command prompt line, i can get it show to the date for any user how do i just do it for root? and i added it to the .bash_profile file
export PS1='[`date +%D` u@h W]$ '
View 3 Replies
View Related
May 22, 2010
while using history command i can able to see only last twenty histroy commands.
View 1 Replies
View Related
Mar 16, 2011
Several mouth a go I've found a command in the mingw package who was able to give me the version of a dll file.
or is there a document which list what each command of the mingw package does?
View 2 Replies
View Related
Jan 26, 2010
I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.
View 1 Replies
View Related
Aug 26, 2010
Does anyone know the command line option to show rhythmbox?
Basically I just want to make a shortcut to show the rhythmbox screen as opposed to clicking the icon and selecting show rhythmbox
rhythmbox-client --(option) --no-start
View 9 Replies
View Related
Feb 11, 2011
I was making a download option in a script but I cant seem to get the command right
Code:
tar cjf /tmp/file.tar.bz2 --exclude="config" ./
My archive ends up with a file-1.tar in it.
View 3 Replies
View Related
Apr 23, 2010
I tried to install gfortran on my computer. When I extract the tarball, I forgot the '-C' option of the command 'tar', which should be added, according to the instruction of installation.
That is to say, I wrote in the mp directory:
Then, the tarball creates a '/usr' directory under '/tmp' directory, and it contains only a /local directory, which contains only a /gfortran directory.
The thing is, when I modify the name of this directory, for example, from /usr to /usr-modi, I found that the name of the directory /usr under the root directory is also changed from /usr to /usr-modi.
How can I delete this annoying /usr directory under /tmp, without tragically affect /usr under the root directory?
View 4 Replies
View Related
Jun 20, 2011
I am not able to print multiple files when using the -#X (number of copies) option using lpr command.
The below is the command that i use :
lpr -#2 -o landscape -o deliver-to=Location -Pmyprinter file-name.pdf
Is there any configuration files that i need to modify for this option to be available ?
The printer that i have is using Postscript driver.
View 6 Replies
View Related
Aug 23, 2010
I m using Redhat Linux 5......I am trying to install Nero 4 DVD Writer s/w...It is an exe file ...
I have given permission like this:
Then i execute the file like this:
Its showing error like this:
View 9 Replies
View Related
Oct 9, 2009
Just curious why it is that the "office phone" column of finger does not seem to report anything even when data is entered in the GECOS field of /etc/passwd. I am using Ubuntu 8.10, kernel 2.6.27-11, finger version 'bsd-finger-0.17' compiled from source (available at http://us.archive.ubuntu.com/ubuntu/.../b/bsd-finger/). To the best of my knowledge, this is also the version of finger that ships with Ubuntu 8.10.User jpublic's entry from /etc/passwd: Code:jpublic:x:1000:1000:John,101,9999,555-1234:/home/jpublic:/bin/bashResult of "finger" with no arguments:
View 6 Replies
View Related
Feb 4, 2010
I'm still learning about bash scripting. Not too long ago, with a lot of help from folks on this forum, I developed the following script to keep Slackware -stable up-to-date:
Code:
#!/bin/bash
#update_slackware.sh
[code]....
View 3 Replies
View Related
Jan 10, 2011
I am trying to automate an svnadmin dump command for a backup script, and I want to do something like this:
find /var/svn/* ( ! -name dir -prune ) -type d -exec svnadmin dump {} > {}.svn ;
This seems to work, in that it looks through each svn repository in /var/svn, and runs svnadmin dump on it.
However, the second {} in the exec command doesn't get substituted for the name of the directory being processed. It basically just results a single file named {}.svn.
I suspect that this is because the shell interprets > to end the find command, and it tries redirecting stdout from that command to the file named {}.svn.
View 2 Replies
View Related
May 14, 2010
I know there is a way to do this... What do I need to install to give me this option from the login screen?
View 2 Replies
View Related
Jun 17, 2011
I am having memory problems on my old Compaq PC, and am trying to run memtest86+-4.20 to check it. I downloaded the source file, and tried a compile, but had the following problem:
[code]...
how to get around this issue?
View 3 Replies
View Related
Jun 27, 2010
I am having a problem with running the mplayer dvdnav option from the command line or terminal. I run the command and this is what I get:
mplayer -nocache dvdnav://1 /media/CDROM /dev/scd1
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing dvdnav://1.
No stream found to handle url dvdnav://1
Playing /media/CDROM.
File not found: '/media/CDROM'
Failed to open /media/CDROM .....
I went on the forums and they say that some of the packages built to support dvdnav are out of date and that they should be updated. By the way I am running ubuntu 10.04 lucid lynx with lxde as my desktop manager.
View 3 Replies
View Related
Aug 3, 2011
I tried to install ndiswrapper , but its showing error,while executing make command
make[1]: Leaving directory `/usr/src/linux-source-2.6.35.8'
make: *** [LINUX] Error 2
View 2 Replies
View Related
Nov 30, 2010
1. Is there a command option to launch an application minimized?
i.e. in terminal
firefox -minimized [URL]
That opens firefox but does not minimize...
2. Also, is there a command option to add the application to the system tray?
View 3 Replies
View Related