Skip to main content

Questions tagged [measure]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
650 views

On Screen Protractor

A handy program for measuring the pixel dimensions of something on-screen is screen ruler: sudo apt install screenruler ; screenruler I like how you can place it anywhere on your screen and it stays ...
Lonnie Best's user avatar
  • 5,135
1 vote
1 answer
296 views

How to measure how long linux takes to shutdown

I need to calculate how long linux takes to shutdown. I am running an embedded busybox linux on ARM i.MX7. I looked in /var/volatile/log/messages but that only shows the last startup. I need to ...
arcomber's user avatar
  • 274
2 votes
1 answer
3k views

Why is ncdu reporting different data from df?

df -h prints: Filesystem Size Used Avail Use% Mounted on /dev/root 59G 6.6G 50G 12% / devtmpfs 1.8G 0 1.8G 0% /dev tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs ...
Iulian Onofrei's user avatar
-1 votes
1 answer
70 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
Chloe's user avatar
  • 538
1 vote
1 answer
834 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) ...
syko's user avatar
  • 695
4 votes
1 answer
1k 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 ...
Euri Pinhollow's user avatar
1 vote
0 answers
17 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 ...
marmistrz's user avatar
  • 2,742
2 votes
1 answer
565 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 ...
7kemZmani's user avatar
  • 121
0 votes
1 answer
175 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 ...
David's user avatar
  • 1
4 votes
1 answer
1k 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 ...
user1717828's user avatar
  • 3,552
2 votes
2 answers
3k 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 ...
user12719's user avatar
  • 121
4 votes
1 answer
1k 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 ...
Wiingaard's user avatar
  • 141
2 votes
1 answer
1k 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 ...
Josh Pinto's user avatar
  • 3,493
1 vote
1 answer
163 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
marmistrz's user avatar
  • 2,742
0 votes
0 answers
225 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 ...
Aloha's user avatar
  • 2,111
1 vote
1 answer
363 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' * ...
Kokizzu's user avatar
  • 9,731
16 votes
2 answers
5k 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 ...
Gearoid Murphy's user avatar
9 votes
1 answer
9k 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?
Anders Lind's user avatar
  • 2,405
57 votes
5 answers
41k 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. ...
Ole Tange's user avatar
  • 35.6k
14 votes
1 answer
3k 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. ...
Ole Tange's user avatar
  • 35.6k
9 votes
2 answers
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 ...
user avatar
9 votes
2 answers
3k 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 ...
Ilari Kajaste's user avatar