LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2003, 06:12 PM   #1
Darth Cow
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Accidentally typed "ps -ux]"


I accidentally typed "ps -ux]" instead of "ps -ux". Now I'm getting this error message when I attempt to use the command ps:

Code:
[root@www /]# ps -ux


Signal 17 caught by ps (procps version 2.0.6).
Please send bug reports to <procps-bugs@redhat.com>
I'm accessing the server via SSH - I don't have direct access. I not especially familiar with shell commands.

Thanks for your help!
 
Old 09-27-2003, 08:03 PM   #2
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
Does this persist over a logout?

Steve
 
Old 09-28-2003, 02:06 PM   #3
Darth Cow
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Yes .
 
Old 09-28-2003, 02:12 PM   #4
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
I've seen this if /proc isn't mounted. Do mount and past the results here

Rus
 
Old 09-28-2003, 05:24 PM   #5
Darth Cow
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I'm sorry, but I know what doing "mount" is.

Can you give me a command to do?

Thanks
 
Old 09-28-2003, 08:03 PM   #6
eltongeoff
Member
 
Registered: Mar 2003
Posts: 76

Rep: Reputation: 15
the command is mount, hence do mount
 
Old 09-28-2003, 08:54 PM   #7
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by eltongeoff
the command is mount, hence do mount
Boy, that's helpful. Please, in the future, if you have nothing better to do than to make fun of people, don't bother posting.

I think what jvds means is this: the /proc partition is a sort of artificial "disk" that contains information about your hardware, along with what processes are running. Presumably that is where 'ps' gets its information. I suppose you could just look to see if it's already mounted:

ls /proc

If you see a list of a bunch of files, then it's mounted. (By the way, "mounting" is just a way of making a disk available for use. Type 'man mount' for information about how to use it.) If /proc is not mounted, you may need to modify your /etc/fstab file to add a line something like this:

none /proc proc defaults 0 0

Another thing to try, if you haven't already, is just plain 'ps' without the '-ux'. Maybe that option is causing some kind of problems. That is about all I know. Good luck!
 
Old 09-28-2003, 10:41 PM   #8
Darth Cow
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Code:
[root@www /]# mount
/dev/sda6 on / type ext2 (rw,grpquota,usrquota)
none on /proc type proc (rw)
/dev/sda1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
"ls /proc" gets me a long list of files.

Just "ps" on its own gets the same results as with any argument.

Looks like not being mounted isn't the issue.
 
Old 10-05-2003, 12:01 AM   #9
eltongeoff
Member
 
Registered: Mar 2003
Posts: 76

Rep: Reputation: 15
whoa r u crazy waccaplet. that was a sincere reply. mount tells u everything that is mounted. all u have to do is type mount. i don't c how i was being unhelpful. he asked wut do mount was and i told him do mount means type mount and hit enter. how else would i answer the question.

if proc is mounted it'll tell u so....... don't kno wut your problem is.

anyway, did u do ps ax without the switch, ps doesn't do the '-' c if that works

Last edited by eltongeoff; 10-05-2003 at 12:05 AM.
 
Old 10-05-2003, 12:17 AM   #10
eltongeoff
Member
 
Registered: Mar 2003
Posts: 76

Rep: Reputation: 15
whoa just noticed it says none on /proc. is it suppose to say that? mine says proc on proc.......
 
Old 10-05-2003, 08:48 AM   #11
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by eltongeoff
whoa r u crazy waccaplet. that was a sincere reply.
My apologies. I guess I misinterpreted your reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
accidentally renamed my root " / " directory rioguia Linux - Newbie 24 10-28-2004 02:47 PM
just typed "ps x" how can i kill a process then? kublador Linux - General 2 05-29-2003 12:23 PM
installing mplayer...... problems occured when "make" was typed.... kublador Linux - General 5 02-22-2003 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration