Ubuntu :: Manage Cpu Usage Per Program?

Aug 23, 2010

Looking for a way to control how much cpu apps are allowed to use. I'm 10.04 64bit dual core.

View 8 Replies


ADVERTISEMENT

OpenSUSE Network :: Bandwidth Management Based On Ip - Manage Usage For Each Client?

Apr 30, 2010

I setup a server with vmware esxi 4. I installed opensuse 11.2 and I have successfully setup an internet gateway and I manually configured (static) my client IP. My question is, is there any software or commands that I could use to manage the bandwidth usage for each client? eg. only 5Mbps for 192.168.1.5, 10Mbps for 192.168.1.10, etc

View 3 Replies View Related

Programming :: Manage Memory To Speed Up Program?

Nov 18, 2008

I wrote a program in lcc in windows and I have to write it in gcc in unix. In lcc there was an option to use more memory than the default for the stack. The following code is working in lcc but in gcc it gives segmentation fault:

#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
int main()
{

View 11 Replies View Related

Programming :: Small Java Program To Manage 2 Apartments?

Feb 17, 2011

this is my first post and I would like to get some help from you , so what should be the answer for this question ?:::::::::::::the question::::::::::::::::THE UNIVERSITY APARTMENTSThe University Apartments provides apartment rental to university students at affordable rates, with optional facilities:Apartment Type A, 2 bedrooms and equiped with kitchen and laundry facilities. The monthly rental for the rooms in this apartment type is RM300.Apartment Type B, 3 bedrooms includes one master bedroom with attached bathroom but does not have kitchen and laundry facilities. The monthly rental for the rooms in this apartment type is RM200 and students staying in the master bedroom will be paying an additional 40%.

Each apartment may house a maximum of 3 students. Students are required to check out from the apartment unit when the current semester ends.Create an application to manage the university apartments rental:1. Register new student and assign apartment moduleRegister and assigns an apartment to the student for 140 days from the date of registration. The module should retrieve the date automatically from the system clock and calculates the expiry date for the apartment rental. Before an apartment is assigned, the system should allow the selection of the type of apartment (i.e. Type A or B), then check for the number of occupants in the apartment. If the apartment already housed 3 students, it should recommend another apartment unit that is still available. Upon registration, student should pay a RM100 for the utility charges, rental deposit for one month and the rental for the current month.

2. Update apartment status moduleWhen a student moves out from an apartment, the apartment status is updated.3. Reporting moduleGenerates a report of apartments with full occupancy and another report for apartments where rooms are still available. 4. Search module Enable the administrator to search for a student's apartment unit using the student id as the search key. The search result should produce the student�s information and the details of the apartment that the student is staying in.The application should be developed using object-oriented concepts using Student class and Apartment class, implementing the appropriate data fields and methods for the classes. Data may be stored in collections i.e

View 10 Replies View Related

General :: Automation - Good Console-based Program To Automatically Manage Music Collection?

May 31, 2011

I like the convenience of having a music player that manages the placement of my music files based on the tags of the files, sorting into a root music folder with Artist/Album/01 - Track Title.mp3 sort of hierarchy. Previously, I was using Banshee for this feature, as even most of the other gui music players don't have this library management feature. Now, I've been trying to use console-based applications, and I have been using mpd + ncmpcpp fairly successfully. When I download new music, it is downloaded to a specific folder, and that's not part of my music collection. My previous workflow would be to open a gui filemanager at the downloaded folder, and drag and drop those songs onto banshee, which would then make a copy of those files in my library hierarchy. Currently, I'm doing the same thing, using Banshee only as a sort of import program, then closing it and updating my mpd database, and there we go.

If at all possible, I'd like to automate this to something where I can define a watch folder, and when some magical program sees new music in said watch folder, it identifies the correct place for the files to be copied into my heirarchy, renaming folders and files to the correct format. I know I've written a lot describing, but I don't actually think this too uncommon a task, and I'm wondering if anyone has a solution for my problem.

View 3 Replies View Related

Ubuntu :: Record Memory Usage Of Program?

Jan 17, 2010

Is there a way I can start a program and then record a log of how much memory it's using at a specific interval until the program ends?

I've tried writing a shell script but get the error: ./apps/mem-test.sh: line 4: [: too many arguments

Here's the non-working script:

Code:
$HOME/apps/ImageMagick/bin/convert -limit memory 64 -limit map 128 $HOME/SSI/davidkennardphotography/Img-Orig/95-Pole-Bank.jpg -set option:filter:filter Lanczos -set option:filter:blur 0.8 -resize 1024x720 $HOME/resizedImage.jpg &
GOODY="ps -p $! -o pid,%cpu,rss,cmd | grep convert >>test.txt"

[Code]....

View 3 Replies View Related

Ubuntu :: Program To Monitor Bandwidth Usage?

Jul 28, 2010

I live in the boonies, so I have satellite internet. It's not too bad, but I'm restricted to 200 mb's of download per day.

I'm looking for an app that will keep track of my usage, so I don't go over 200. I was using "System Monitor", but it's a little buggy, so I'd like to try something else.

View 7 Replies View Related

Fedora :: Get Cpu Usage For Program?

Jun 14, 2010

I'd like to get cpu usage for my program which is related with xen hypervisor.

and i could find some.. from

/proc/stat
vmstat
system information on x-window
and virt-manager

but i found that every program shows different information of cpu usage.

View 3 Replies View Related

Ubuntu :: Program - Displayed System Information - Cpu - Ram Usage

Jan 17, 2010

I used to have a program that displayed system information (cpu/ram usage, stuff like that) but the name escapes me at the moment. The key feature of this program is that it was intergrated into the desktop.

View 3 Replies View Related

Ubuntu :: To Find Out Program's Computer Resource Usage?

May 17, 2010

I am currently developing a program that i need to compare to other similar programs, mainly to provide a cost v. benefits analysis for myself and coworkers. does anyone know of a program that can accurately provide this information? or, otherwise, an idea of how to start coding?I have seen in research papers before that quickness was actually evaluated in seconds/microseconds taken for processes to finish- is this legitimate?

View 3 Replies View Related

General :: Usage Of AT Command To Schedule A Program?

May 13, 2010

i want to use the command at to execute a script on a specific time FOR EXAMPLE :at 12:30pm but the script does not have to ececute at all, I DIT IT BUT THE SCRIPT EXECUTES EACH 12:30pm (that'sy problem) i want to write a script that will execute each two months from a specific time . for example: from january 12, 2010 the script has to run before march 12,2010

View 5 Replies View Related

Ubuntu :: Make A Program Crash If System Memory Usage Gets Too High?

Jul 19, 2010

Basically I have a machine with 16GB of RAM and have just discovered that using all of it can crash the whole system over one process. How could I run a process on the system in such a way that if more than 90% of system memory is used, the process immediately crashes?

View 3 Replies View Related

General :: Find Total Memory Usage Of A Program?

Sep 22, 2010

I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?

View 3 Replies View Related

Debian Programming :: Memory Usage When Running Java Program

Jun 28, 2013

I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.

However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.

I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.

View 2 Replies View Related

General :: Power Management - Program To Artificially Create CPU Usage?

Jul 27, 2010

Since I own one of those Centrino based Core 2 notebooks that create annoying buzzing noises when idle (= entering C3 or C4 power saving states), I'm looking for a program that creates artificial CPU usage. It should allow me to limit the CPU usage to a certain percentage (I know that there are a lot of easy ways to create 100% usage ;-).

Another option would be to disable the C3 or C4 states, but in newer kernels the sysfs interface to set the max_cstate on-the-fly was removed for some reason, and I don't always want to reboot after switching from AC to battery (and vice versa).

View 3 Replies View Related

General :: Different Space Usage (Discus Program Versus Command)

Mar 24, 2011

I have a debian linux on my server. My disk space is only 10GB. When I check the space usage with discus program, it says:

Mount Total Used Avail Prcnt Graph
/ 9.39 GB 8.30 GB 1.10 GB 88.3% [*********-]
+ib/init/rw 124.3 MB 0 KB 124.3 MB 0.0% [----------]
/sys 0 KB 0 KB 0 KB 0.0% [----------]
/dev 120.1 MB 92 KB 120.0 MB 0.1% [----------]
/dev/shm 124.3 MB 0 KB 124.3 MB 0.0% [----------]

But when I use this command:
du / --max-depth=0
It says:
1860864 /

Why the stats of discuss is not like du command?

View 5 Replies View Related

Networking :: Tools For Monitoring Network Bandwidth Usage Of Program/port?

Dec 8, 2010

I have a third party program (tightvnc) which I want to monitor and detect if it loses a connection with a client. I don't care if the client has the program open but isn't doing anything with it, I only want to know if the actual TCP connection is lost.

Since TCP takes forever to die on it's own I was thinking the best way to detect if a connection is lost is by bandwidth the bandwidth on the tcp port allocated to the VNC connection. Are there any tools built in to redhat (RHEL 5.2) which I could use to do this? Since I don't have full control of the operating system I would prefer to use built in tools rather then trying to get a new tool installed.

View 3 Replies View Related

Fedora X86/64bit :: Use Fedora / Linux Raid Program To Manage Raid Array?

Jun 24, 2009

I've tried to install Fedora 11, both 32 and 64 on my main machine.It could not install as it stops on the first install window. I've already filed a bug but really haven't seen any feed back yet.The bug has something to do with Anaconda and the Raid array but I really can't tell.

I have an Intel Board (see signature). I am running intel raid software under W7 currently.It works fine. But, I'm wondering, when I attempt to install F!!, is my current raid set-up causing problems? Do I need to get rid of the intel raid software and use a Fedor/Linux raid program to manage the raid array??

View 2 Replies View Related

General :: Status Of Memory Usage And Disk Usage Using Sigar In Windows And Ubuntu

Mar 15, 2010

I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.

View 14 Replies View Related

Fedora :: Hidden Disk Space Usage \ Can't Figure Out Where The Runaway Usage Is?

Dec 10, 2010

I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:

Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on

[code]....

View 5 Replies View Related

General :: Unix - Monitor Average CPU Usage And RAM Usage On One Process System?

Nov 15, 2010

Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!

View 2 Replies View Related

Red Hat / Fedora :: Get The Value Of CPU Usage - Memory Usage ?

Jan 13, 2009

I am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?

View 3 Replies View Related

Server :: "free" Shows Far More Memory Usage Than Summing Up Application Usage?

Aug 6, 2010

I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":

Code:

[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092

[code]....

View 2 Replies View Related

OpenSUSE Network :: Find Out Network Usage / Keep Track Of Total Network Usage?

May 24, 2010

How do I find out the network usage ie the total amount of data is transferred in or out of my computer (openSUSE 11.2 and gnome) and keep a track of the total network usage?

View 1 Replies View Related

Ubuntu :: Add An Application To Manage A Subtype?

Jul 7, 2010

I will try to explain. My bank send to me a file which has extension .fm6, but which is, in reality, a zipped file. I have a program, which runs more or less well under wine, to open them.

Now the problem is: how can I associate this kind of files to the application? I mean, I can change the application for *all* compressed zip files, I know how to do it, but I do not want it. Just zip files that happens to have a name ending in .fm6 should be associated with them.

I know it's possible. In the end, openoffice.org files are really zip files (try it), and they are treated differently.

View 1 Replies View Related

Ubuntu Servers :: Best Way To Manage Bandwidth On A LAN?

Oct 28, 2010

I'm looking for an effective way to manage use of internet bandwidth by users on a local area network. Currently there is a simple broadband router and unmanaged switch, and a standalone Ubuntu Server (8.04) that provides DHCP, DNS and mail for the LAN, and a web server. Ports are forwarded from a static external IP address to HTTP, HTTPS, SMTP, SSH and IMAPS, and some security is provided by IP Tables (managed by using UFW).

There are 5 users on the network, and currently one or two of those 5 are using beyond our monthly download allowance of 30Gb. 1) To be aware of how many users are currently using the internet connection, and to divide the bandwidth between that number (so that if there are, say, 3 active connections, the total bandwidth available is divided 3 ways, rather than one of those users being able to hog all of it).

2) To allow each user to download up to 1/5 of 30Gb each month without any additional throttling (apart from the above), but once they go over that allowance to throttle them individually to, say, 10Kbps until the start of the new month.

I've heard other threads talking about both IP Tables and a proxy server such as Squid. I have no idea which of these would be most suited to the task. Currently, as I said, the Ubuntu server is standalone and only using 1 NIC, but it has 2 NICs and I could be configured to act as a gateway for the LAN, instead of the router, which is set to be the current default gateway.

View 2 Replies View Related

Ubuntu :: Install A Gui To Manage Printers?

Nov 9, 2010

I installed ubuntu 10.04 minimial (just base packages), I have a desktop manager installed and was just wondering what the command was to install a gui to manage printers?

View 3 Replies View Related

Ubuntu :: Use Vidalia To Manage A TOR Relay?

Dec 22, 2010

I want to use Vidalia to manage a TOR relay. My /etc/default/tor file references another file /etc/default/tor.vidalia. It's supposed to help manage the TOR daemon. For whatever reason, I don't have a file called /etc/default/tor.vidalia.

View 8 Replies View Related

Ubuntu :: What Are The Necessary KDE Packages To Manage Printer

Jul 1, 2011

I'm trying to get my HP printer to work on Backtract 5 KDE (Ubuntu 10.04), I have installed 'system-config-printer-kde' and 'kde-printer-applet' plus the HP drivers but I think something is still missing cause I cant setup up the printer (clicking on add new printer I only have the option for network printer and new class printer) and if I try to print from any application there's only one option that is to file.
I'm sure there's a solution for this, I have searched a lot but can't find the list of packages necessary to manage printers.

View 9 Replies View Related

Ubuntu :: Manage Detection Of (Windows) Partitions?

Jan 4, 2010

I'm running Ubuntu 9.10 together with Windows 7 and when I launch Nautilus I have a list of all my (Windows) partitions in the navigation bar on the left. However I don't want to see all those partitions in Ubuntu (eg. the Windows system partition or the partition reserved for the Win boot loader. Is there a way I can control which partitions will be detected and listed for mount in Nautilus?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved