WebFaction
Community site: login faq

Hi, the URL for the webfaction memory usage script, mentioned in this question, seems unavailable.

wget -O ~/bin/memory_usage.py 'http://wiki.webfaction.com/attachment/wiki/MiscellaneousFiles/memory_usage.py?format=raw'; chmod 755 ~/bin/memory_usage.py

May I ask how can I get in perhaps from a new location? Thank you.

asked 24 Oct, 19:23

teks
33128
accept rate: 0%


That script is obsolete - you can now use mem to get that info:

[someone@webNNN ~]$ mem
  PID User     Command                         Swap      USS      PSS      RSS 
13117 someone  -bash                              0   492.0K   582.0K     2.1M 
13796 someone  python2.7 /usr/bin/smem -t         0     4.2M     4.3M     6.4M 
-------------------------------------------------------------------------------
    2 1                                           0     4.7M     4.8M     8.5M

Hope that helps!

permanent link

answered 24 Oct, 22:54

seanf
12.2k31836
accept rate: 37%

Thanks, but I got -bash: mem: command not found Do I have to install it (if so, how?) or is it available to all users by default?

(25 Oct, 16:53) teks
1

try something like: smem -tk

I think the leading 's' was missing from the command provided.

(25 Oct, 20:21) bmeyer71 ♦♦

smem works fine, thanks!

(26 Oct, 16:38) teks
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×86
×25
×19

question asked: 24 Oct, 19:23

question was seen: 89 times

last updated: 26 Oct, 16:38

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM