Ubuntu :: Find Out Which Process Uploads A Lot Of Data
May 18, 2011
Sometimes I notice that there is high upload speeds for 10 minutes or so. At the time of the screenshot I was sitting in a public wireless place, only chromium was open and I don't see any reason why there should be sustained upload speeds.Is there a GUI or CLI so I can find out which process uses the internet?
View 1 Replies
ADVERTISEMENT
Jul 15, 2011
We are a small company running half a dozen servers in data center.Recently we got charged heavily for over-utilizing the data transfer. So,we are looking for a way to find - uploads and downloads per ip and port basis.We have mixed environment (Win2008/Ubuntu) so the tool should be able to work for both.I am not sure if MRTG provides per port(i.e. application) based analysis.
View 4 Replies
View Related
Oct 27, 2009
I am trying to find a PCI compliant anti-virus that will scan uploads automatically for the debian lenny operating system. We are running the OS as a server with kernel 2.6.24 I am trying to avoid ClamAV as it is a pretty big system hog.
View 1 Replies
View Related
May 4, 2010
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or something?
View 3 Replies
View Related
Jun 23, 2010
forums so I'm not sure this is the right place for this topic.So, my question/topic thing is:I have a PHP script that runs on an apache2 web server (www-data).From this script, i want to launch a process that stays alive all the time,ut the parent script keeps on going. So I think I will need to run a command like 'at' to put the process on a queue, and the script can continue and finish, without waiting for the process to stop. But it seems like I will need to run the 'at' command as a different user, because www-data stops the 'atd' process. I'm not sure about that. Does anybody know how this could happen?
View 2 Replies
View Related
Jul 10, 2011
There is text based game in the Ubuntu repos called gomoku (just 5 in a row) it comes with the package bsdgames. The manual page [URL] lists an option (-b) to run it in the background. I want to try that and if I know how it works create a simple graphical front-end. When I start the program with:
Code:
gomoku -b
it starts and remains active, the terminal does not return to prompt which is OK as the command is not finished. The manual says the program reads from stdin, and this might sound stupid but how to get anything there?
I've tried to pipe an echo command to gomoku which works but ends the program after is receives input.
Code:
echo "black" | gomoku -b
just finishes. After that when you type another command like:
Code:
echo "justsometext" | gomoku -b
gomoku tells it expects either black or white as input. So it forgot the previous "black" because it is a new instance.
How do I pass text to an already running gomoku?
View 2 Replies
View Related
Nov 22, 2010
I would like to send struct data from process A to process B but I dont known what is the best way. I have read about IPC, but there are a lot of ways to do it.
View 2 Replies
View Related
Feb 16, 2011
I am trying to automate some directory naming when we're manually running some scripts and are using tee to direct the output to a file (log). Right now this is what we do
Code:
./some_script.sh 2>&1 | tee /home/user/some_dir/logs/manual/some_script_20110216_1628.log
As a matter of laziness and keeping the log files consistently named, I'd like to create a function to pipe it to so that it's doing all the naming How I envision the command running
Code:
./some_script.sh 2>&1 | myfunc
And what the logfile name should look like (and in the right directory)
Code:
some_script_20110216-1628.log
I was thinking of adding a function to our profile to handle this. Just in testing I was trying to stream line right on the command line, but I'm having some difficulty in getting the name of the script that is pushing data over the pipe. Here is what I've tried
Code:
./some_script.sh 2>&1 | tee $(cd ../logs/manual; pwd)/$0_$(date +%Y%m%d)-$(date +%H%M).log
but that created a file named
"bash_20110216-1628.log"
View 3 Replies
View Related
Jan 22, 2010
resuming the any running process like yes a,vim a,copying data etc) via any terminalkill fg,bg at some instances kill -STOP pid,kill -CONT pid .
View 2 Replies
View Related
Sep 1, 2011
set up BASH scripts on the server to automatically download and process data, and then upload it to my website. Is it even possible? Do servers allow website owners to place BASH scripts that can run automatically, or keep running indefinitely?
View 5 Replies
View Related
Apr 2, 2010
I have this JSON encoded data, which I want to efficiently parse (i.e. fast, with minimal system resources). I don't want to use a/the shell any more than necessary.
Here's a snippet of what the raw serial data looks like:
Code:
[{"num":1,"name":"1","visible":false,"focused":false,"rect":{"x":0,"y":0,"width":1680,"height":1050},...blah blah..
So that's fine. I currently have at least two ways of parsing it:
This Perl method (which I don't much care for because I'm not much into Perl, and because the output is not much more useful than the raw form, and imho even more cryptic):
Code:
sasha@reactor: <produce data> | perl -MData::Dumper -MJSON::XS -E 'say Dumper(decode_json <>)'
$VAR1 = [
{
code....
# Which means: at x=1680, draw a 20x20px grey block, then back up -10px and draw a "1" on the block.I figure that the two awk's I've used can be combined into one -- but I began having problems with removing the single quotes if I did it within the awk, which is why I stuck a `tr` in the middle.
I know this sucks. So, if someone has some ideas or thoughts on something else to do with this JSON data, that's less convoluted that where I'm currently going, I'll be happy to hear about it.
PS - I know this whole post is possibly hard to understand -- if you need more info (you mean you're interested in this mess?? )
View 13 Replies
View Related
Oct 19, 2010
I have searched for the solution with no luck and still wondering if there is a way to find out what's an application process name is from the name of the application itself. And then pkill the process from the terminal.I tried using
Code:
ps -e | grep ....but it says[code]....
View 6 Replies
View Related
Feb 16, 2010
On server (no GUI) how can I find the state (running, sleeping, zombie) of a given process, by giving a process name or PID?
View 3 Replies
View Related
May 7, 2011
I am trying to write a script that will look for a plugin and check that its running and if not start it
Code:
ps ax | grep -v grep | grep aseco.php
The above should list the process, if I put it into terminal this is incorrect?
View 8 Replies
View Related
Feb 4, 2011
I know that this command
"pid aux | less"
displays all the processes and their pid but it would be too time consuming to search for the pid of one specific process is there a way to use "grep" to find pid of a certain process?
i tried "grep process-name pid aux"
View 3 Replies
View Related
Feb 3, 2010
How to find how many cpu's a particular process uses.
My weblogic process is running on Linux.There are 8 cpu processors.I need to find which are the processors the weblogic process is using
View 6 Replies
View Related
May 16, 2010
Using Debian Squeeze amd64.
How can I find out, from running process, which ones are 32 bit, and which ones are 64 bits?
View 3 Replies
View Related
Oct 3, 2010
Normally servers having multiple CPU's I need to found out, which CPU is used by a process. or else from the out put /proc/pid/stat how we can identify used CPU by the process
View 5 Replies
View Related
Apr 8, 2010
I can see that the light of the HDD is flashing. I would like to find out what the process is that is accessing the HDD. Is there a way to achieve this?Is there a utility that ties up processes with hw resources?
View 1 Replies
View Related
May 16, 2010
Is there a way to find out information about a process based on the command used to run it?
Ideally I would like to get processes ID %CPU and memory usage back. I have written a short shell script which does this but I wonderd was there a command that did this.
Here's my shell script
Code:
#!/bin/bash
ExpectedArgs=1
ARGS=$#
if [ $ARGS != $ExpectedArgs ]
[Code]....
View 1 Replies
View Related
May 13, 2010
I start a QEMU command, but pgrep can't found the process.
Host> ps aux | grep qemu-system-mips
With the full name, nothing can be found.
View 1 Replies
View Related
Feb 23, 2010
I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.
[code]....
View 3 Replies
View Related
Feb 20, 2010
I have the following problem. I want to find out connection between process and socket. When I type to the terminal the following command netstat -anpetu so I get the following output:
[Code]....
As you can see just some connection have assign PID/Programme. How can I find out Program of this socket without PID/programme. like this 0.0.0.0:52472? Certainly I know that some port are well-known but there are a lot of unknown ports(like 8307 3350 and so on).
View 3 Replies
View Related
Jul 8, 2011
Im using SUSE, i have 31GB of memory Mem: 31908592k total, 31429632k used, 478960k free, 12176k buffers. How do I find out what process are eating up all my memory.
View 3 Replies
View Related
Mar 5, 2010
Is there any link where i can get information about below?
Dirty memory
RSS
PSS
One more?
if a set of process are getting executed in a use case say 50 times. How do one know the memory leak for a particular process?
View 1 Replies
View Related
Dec 17, 2010
My machine is trying to communicate with another computer. I�ve blocked the traffic with this machine with iptables (input and output traffic), but I want to find the origin of this traffic. There�re 90% of probabilities it�s a trojan, and I want to find it.I have logged the packets with iptables (and then dropped), but with this I don�t know the proccess source.I�ve tried with netstat -o, but I don�t get nothing.How can I see the Process source (i.e. the PID) of this traffic?The traffic are TCP packets, with SYN flagged active (my machine is trying to establish a connection with that IP).
View 9 Replies
View Related
Mar 2, 2010
How can i find a the process that crashed my linux system,
I only have the below information available.
from /var/log/messages
Mar 1 21:14:31 localhost kernel: fown: signal 29, pid 1211
Mar 1 22:00:17 localhost kernel: fown: signal 29, pid 1211
Mar 1 22:07:52 localhost kernel: fown: signal 29, pid 1211
[Code]....
Also I don't have kdump enabled.
I am assuming that this is due to overloading of the server.
This server runs an Oracle Database..
View 4 Replies
View Related
Jul 13, 2011
All my music is already synced, but every time a song finishes playing in Banshee, a notify OSD message appears letting me know that song is being uploaded to my Ubuntu One account. I'm running Ubuntu 11.04 32 bit.
View 2 Replies
View Related
Mar 16, 2011
How can I find out which process is listening on a port on linux?
View 5 Replies
View Related
May 16, 2011
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies
View Related