Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
09-21-2009, 10:38 AM
#16
Senior Member
Registered: Feb 2004
Location: Chicago
Distribution: CentOS w/Cpanel
Posts: 1,122
Rep:
Quote:
Originally Posted by
woshka
root@linux [~]# wget
http://amos.freeshell.org/userbeans.sh
--09:39:44--
http://amos.freeshell.org/userbeans.sh
Resolving amos.freeshell.org... 192.94.73.30
Connecting to amos.freeshell.org|192.94.73.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11681 (11K) [application/x-sh]
Saving to: `userbeans.sh'
100%[==================================================================================================== ================>] 11,681 10.5K/s in 1.1s
09:39:45 (10.5 KB/s) - `userbeans.sh' saved [11681/11681]
root@linux [~]# userbeans.sh +a
-bash: userbeans.sh: command not found
chmod 700 userbeans.sh
./userbeans.sh +a
09-21-2009, 10:40 AM
#17
Member
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 218
Rep:
Quote:
Originally Posted by
woshka
root@linux [~]# wget
http://amos.freeshell.org/userbeans.sh
--09:39:44--
http://amos.freeshell.org/userbeans.sh
Resolving amos.freeshell.org... 192.94.73.30
Connecting to amos.freeshell.org|192.94.73.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11681 (11K) [application/x-sh]
Saving to: `userbeans.sh'
100%[==================================================================================================== ================>] 11,681 10.5K/s in 1.1s
09:39:45 (10.5 KB/s) - `userbeans.sh' saved [11681/11681]
root@linux [~]# userbeans.sh +a
-bash: userbeans.sh: command not found
ehhhhhhhhhh...
Quote:
root@linux [~]# chmod a+x userbeans.sh
root@linux [~]# ./userbeans.sh +a
ehhhhhhhhhhhhhhhhhh
Last edited by dlugasx; 09-21-2009 at 10:41 AM .
09-21-2009, 10:40 AM
#18
LQ Newbie
Registered: Sep 2009
Posts: 10
Original Poster
Rep:
root@linux [~]# chmod 700 userbeans.sh
root@linux [~]# ./userbeans.sh +a
for non-root users, /proc/user_beancounters required via stdin
root@linux [~]#
09-21-2009, 10:41 AM
#19
LQ Newbie
Registered: Sep 2009
Posts: 10
Original Poster
Rep:
for non-root users, /proc/user_beancounters required via stdin
09-21-2009, 10:47 AM
#20
Member
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 218
Rep:
Quote:
Originally Posted by
woshka
for non-root users, /proc/user_beancounters required via stdin
execute this like a root...
Quote:
root@linux [~]# su -
root@linux [~]# chmod a+x userbeans.sh
root@linux [~]# ./userbeans.sh +a
09-21-2009, 10:48 AM
#21
LQ Newbie
Registered: Sep 2009
Posts: 10
Original Poster
Rep:
root@linux [~]# su -
root@linux [~]# chmod a+x userbeans.sh
root@linux [~]# ./userbeans.sh +a
for non-root users, /proc/user_beancounters required via stdin
root@linux [~]#
12-05-2009, 01:07 PM
#22
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 691
Rep:
I found the problem in line 225.
Try replacing that line with this:
if [ "`whoami`" != root ] ; then
Abefroman, can you tell us more about this script or point
us to some web resources?
What are userbeans?
What program(s) creates userbeans?
How can you use this info for diagnostics? (Although the
answer to this may be obvious after seeing a sample output)
12-05-2009, 01:20 PM
#23
Senior Member
Registered: Feb 2004
Location: Chicago
Distribution: CentOS w/Cpanel
Posts: 1,122
Rep:
Quote:
Originally Posted by
carltm
I found the problem in line 225.
Try replacing that line with this:
if [ "`whoami`" != root ] ; then
Abefroman, can you tell us more about this script or point
us to some web resources?
What are userbeans?
What program(s) creates userbeans?
How can you use this info for diagnostics? (Although the
answer to this may be obvious after seeing a sample output)
This is kinda a dead thread, but the userbeans are for vps servers only and I think specifically virtuozzo.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 03:15 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News