Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [measure]

The tag has no usage guidance.

-1
votes
1answer
19 views

How do I check how much RAM a process consumes like the way `time` is used to measure the elapsed time?

How do I check the maximum amount a RAM a process uses similar to how time works? $ time mvn package real 0m35.796s user 0m32.925s sys 0m1.559s $ maxmem mvn package 688 MB
1
vote
1answer
443 views

How to measure disk and network IO more frequently than a second?

I am running some experiments that use cpu, disk, and network resources. (by the way, I use Cent OS 7) I want to measure its cpu, disk, and network resource usage. Some tools I know (dstat, iostat) ...
2
votes
1answer
339 views

How to output process stats after completion?

I would like to run a process from bash in Cygwin so that I have some short summary after execution like peak memory usage or average CPU usage, like time but with more information. Are there any ...
1
vote
0answers
15 views

Measuring, how much power the wireless connection takes

In theory, disabling the wireless connection on my laptop should improve the overall battery life. In fact the battery consumption is a complex process; when I tried to measure, how longer life I ...
2
votes
1answer
41 views

performance comparison of multiple commands excutions

I've got three different programs written in three different languages, and I'm trying to compare their performance in terms of runtime, and memory consumption. What I'm looking for is some command ...
0
votes
1answer
94 views

I want to measure the time between two jobs in a logfile

I have a logfile which name/directory is: /srv/uni/kani/LogDay.09-03-2016 The name of the logfile changes date every day. So tomorrow will be: `LogDay.10-03-2016' and so on... I would like help to ...
2
votes
1answer
492 views

How can I make fullscreen cross hairs appear centered on the pointer?

How can I make fullscreen crosshairs, centered on the mouse, appear on my screen? I read a lot of science papers with graphs that I want to quickly be able to see what feature is horizontal/vertical ...
1
vote
2answers
1k views

Resource usage (% CPU) for given command on OS X

The time -v command outputs % CPU utilization for a given command on Linux. How do I do this on OS X? The Linux/OS X difference is illustrated here. I would like to measure multi-core utilization ...
2
votes
0answers
211 views

Is “top” accounting for Kernel Interrupts?

I have a simple interrupt that is triggered by a GPIO-input. The IRQ only increments a variable and returns. When I turn the frequency of the interrupts up to somewhere around 10-20 kHz, the system ...
2
votes
1answer
723 views

How do I measure the RAM usage of desktop environments?

I would like to measure the RAM usage of several desktop environments (including Cinnamon, GNOME, KDE, LXDE, LXQt, MATE and Xfce) running on my Sabayon machine. I would prefer a command-line way of ...
1
vote
1answer
111 views

Measure the network traffic on a long-term basis

I'd like to find out how much network traffic my computer uses, i.e. whether a limit of 30GB of transfer wouldn't be too little. What's the best tool to measure it? Using Linux Mint 17
0
votes
0answers
156 views

How do I measure the amount of network traffic that passed my debian installation?

So my raspberry pi is acting as a Router and Web/Mail/FTP/SQL/Media/Clash of Clans/Home server right now and I'm looking for a way to monitor the consumed bandwidth, much like NetWorx for windows. I ...
1
vote
1answer
165 views

Random lag on connection

when i try to connect to my friend's server, the connection seems randomly laggy, sometimes it's 50ms, 40ms, 60ms, but sometimes it tooks 1, 3 or 7 seconds time curl -vv 'http://ipaddress/foo.json' * ...
16
votes
2answers
4k views

How to detect if a disk is seeking?

I can use a variety of tools to measure the volume of disk I/O currently flowing through the system (such as iotop and iostat) but I'm curious if it's possible to easily detect if a disk is seeking a ...
7
votes
1answer
8k views

How to measure an operation's duration in terminal, not in code

For example, I need to do "make " for some software. I want to measurement how long this is going take. Is there easy and accurate way to do so?
45
votes
5answers
25k views

Measuring RAM usage of a program

time is a brilliant command if you want to figure out how much CPU time a given command takes. I am looking for something similar that can measure the max RAM usage of the program and any children. ...
12
votes
1answer
2k views

Measuring disk I/O usage of a program

time is a brilliant command if you want to figure out how much CPU time a given command takes. I am looking for something similar that can measure the disk I/O of the program and any children. ...
9
votes
2answers
2k views

How to time grep commands accurately?

I want to compare the speed of these two commands: grep pattern1 files* grep pattern2 files* Unfortunately, the first grep reads much of files* into memory buffers, so the second grep runs very ...
8
votes
2answers
2k views

Measuring internet connection quality

I'm having WLAN trouble on my dualbooting win/linux laptop - the connection on linux side has occasional trouble, and seems somewhat slow and chunky. I would try to fix this issue by fiddling with all ...