Tag Info

Hot answers tagged

12

Your picture shows 56% cached memory. Linux works with kernel and cache loaded in the RAM to speed up things. When you have more applications taking up memory, the cache will be reduced to trade off its advantages for running more apps. In short, things are fine; you are not running out of memory. The Kernel+Apps memory utilization is near the 30% mark. ...


12

For anyone trying to understand what usage output means, the best way is to man man. seriously :-) Take the time to learn the conventions, it really helps. The following conventions apply to the SYNOPSIS section and can be used as a guide in other sections. bold text type exactly as shown. italic text replace with appropriate ...


10

Is this a one time thing, or is this information you want to be able to extract regularly? In case it is the later then one option is to apply quotas on your filesystem. Doing that the system continuously keeps track of the amount of data used by each user. That way the information is merely a query to the quota database away.


8

There are two main categories of uses for chroot (the Wikipedia article goes into more detail): Isolate an application, providing it with a restricted view of the filesystem. This is commonly done for public FTP servers, for example, to make sure they won't be able to serve files outside the public area even if there's a bug in the server software. This ...


6

You can use Windows Performance Monitor to monitor the CPU usage on the server. You can then configure an alert for when it reaches a certain threshold. This article gives a good description of setting this up. The Alert will let you either log this to the event log, send a netsend message, or more useful, run a program. You can then configure this to run a ...


5

For basic crash dump analysis no particular skills are needed. If you can follow the instructions and open a dump with crash then you can do some basic diagnostics without any in depth knowledge of the kernel. However, for anything beyond the basics you're going to need to know how to debug code using gdb, develop a good knowledge of kernel structure and ...


4

overflow 1.0M 0 1.0M 0% /tmp You have only 1 MB of tmp space EDIT: In this way you can increase size of /tmp sudo dd if=/dev/zero of=/usr/temp-disk bs=2M count=1024 sudo mke2fs -j /usr/temp-disk sudo mke2fs -j /usr/temp-disk sudo chmod 1777 /usr/temp-disk sudo umount /tmp sudo mount -t ext3 -o rw,noexec,nosuid,loop /usr/temp-disk ...


3

The three numbers represent the number of processes, on average, that are ready to run but are blocked, over the last one, five, and fifteen minutes, respectively. https://secure.wikimedia.org/wikipedia/en/wiki/Load_average It varies very slightly from one unix-like OS to the next (e.g., different criteria for "waiting"), but they all work basically the ...


3

It will always be pretty inaccurate because of shared pages. However smem should be able to generate you such report.


3

lsof will only show you which resources are being used by your local system, in no case it'll show any foreign resource acquisition, but there's a way around that... All remote usage will be tracked by the lockd daemon on the NFS server and it'll issue a lock on the file if you try to access it while being written by another node, so if you're using this ...


3

AWK is your friend. http://en.wikipedia.org/wiki/AWK


3

I use chroot on mac os x to test some softwares, or to test packaging of projects I am involved with (to e.g. test installs on 10.4 while I am using 10.6).


3

Found it... "top -S"


3

It's using 600MB of memory at the moment - you must have quite a few things running, but it's not unreasonable. Ignore the 'buffers' and 'cached' lines - those are disk buffers and disk cache. The system's just using that because it's there. Look at the 'Kernel + Applications' line to see what the programs are actually using.


3

In a 200-person environment I would imagine you have some Windows servers floating around there somewhere. If the printer isn't already available via a print queue on one of your servers (i.e. your clients are printing directly to the printer IP), alter this so that your clients print via a shared printer queue from a server. This will have a nice side ...


2

You need to parse the logs with a custom script. You'll also likely want a custom log format (to capture the VirtualHost names.) You can either parse the logs daily (or hourly/weekly) or you can run the logs through a script as it happens. LogFormat "%B \"%{Host}i\"" myformat CustomLog "|/usr/local/bin/apachebwmeter" myformat It's up to you to write ...


2

I don't know if you can do all you want but there are a variety of was to create scripts to extract data from Exchange. In my case I'm only interested in the number of messages and the total size of each mailbox. A Perl script that runs each night gathers that information and logs it into a MySQL database. It then uses the data in the database to generate an ...


2

What we do in many places is use the quota system, but set absurdly high quotas. This way you get the benefit of fast reporting. At one site, each user has 1 TB of "quota" space. We periodically bump the quota higher as serviceable disk grows -- initially it was 30GB per user, something that was absurdly high at the time.


2

Or for finding the problem users (directories too), du -xk | sort -n | tail -25 and for Solaris: du -dk | sort -n | tail -25 This gives you a list of the 25 largest directories. Not quite what you asked for, but I use it all the time.


2

Another nice solution I found here. Navigate to the directory of interest, and run (altneratively, change . to whichever directory interestes you, e.g. /home/): find . -printf "%u %s\n" | awk '{user[$1]+=$2}; END{ for( i in user) print i " " user[i]}'


2

I finally choose the PRTG program (the free version with 10 sensors) and everything seems to work fine. Maybe if our needs and our network increase I would rather be looking for a proxy server solution as Chopper3 suggested, but for now it's enough for us.


2

Have a look at Polymon. http://polymon.codeplex.org From what your describing, it's exactly what you're after. And free.


2

You could definatley write something to get your individual folder sizes (calendar, tasks etc) this in Powershell, im not to sure on the types of attachments though. You would use the -FolderScope parameter to focus on particualr folder, so for the calendard it would be: Get-MailboxFolderStatistics -Identity $user -FolderScope "Calendar" |select ...


2

A quick search for scripts that might do what you're talking about turned up a couple of hits: http://gsexdev.blogspot.com/2005/08/mailbox-attachment-auditing-script.html http://cwashington.netreach.net/depo/view.asp?Index=445&ScriptType=vbscript Both of these are older, but look like they have some potential to be hacked into shape. The first one ...


2

First of all, while there are general conventions, they are not uniformly applied. In this case, it's saying that if you use -R (indicating "recursion"), then you can use either -H, -L, or -P. If you don't use -R, then those options are not relevant. Yes, case is almost always important. So usually -h and -H do completely different things. The square ...


2

Answer #1 What's your iptables --version? On mine, iptables -vL automatically converts the bytes into Kbytes (K suffix) or Mbytes (M suffix). Answer #2 Use iptables -x piped to sort, e.g. iptables -xvL $CHAIN | sort -rn -k 2 Answer #3 Pipe the output of the above commands to a script which will do the database insert. You may want to further filter ...


2

How often do people want to open up their personal systems for others to access? Most of the time, chroot is geared towards servers with lots of different users. However, if you wanted to indeed setup a local SFTP server for users to access your personal system, then you should definitely chroot it. Maybe this post will start you off in the right ...


2

As Michal says, this will be inaccurate due to shared pages, but if you wanted to you could build a script around a ps command For example the couple of liner below would print out the virtual memory used by the UID 500 in KB: #!/bin/bash SUM=0 for MEM in `ps -u 500 -o vsize --no-headers`; do SUM=$((SUM+$MEM)); done echo $SUM Ewan


2

Yes, something is consuming more and more memory. No, it's not the VFS (buffers and cache). It's not possible to draw any further conclusions from the data you've provided. You really need to look at which processes / programs are using what memory - this provides a better indicator than just looking at the RSS / VSZ, but it can still be misled by COW ...


2

Your ISP almost certainly cannot break down usage by individual computer if you are connecting to your ISP through a single router using NAT (as most household routers do). There are two ways of differentiating between computers on a network for traffic accounting purposes: source IP address, or MAC address. A MAC address is only distinguishable on a ...



Only top voted, non community-wiki answers of a minimum length are eligible