catalinux / pwatch (public) (License: GPLv3) (since 2016-03-01) (hash sha1)
Set of tools to analyze what a process is doing. 'io' command is used to see who is doing I/O.
List of commits:
Subject Hash Author Date (UTC)
Renamed pwatch_counters_avail to pwatch_fdinfo_avail. 44efae853dca6b1f5c50dfdf56cfd0be5bb19792 Catalin(ux) M. BOIE 2007-11-01 23:05:55
Impoved a little the description from spec file. d367b069e3f51be7e159758fc8d9e9a0ef8078bb Catalin(ux) M. BOIE 2007-10-30 09:55:24
Added homepage to README file. e0976ec7f6decd8bcf7c4cff3bb36fc16702332a Catalin(ux) M. BOIE 2007-10-30 09:54:25
Warn if user has a not enough recent kernel and refuse to work. 3687f3965abc6aa66bbde34a7fd53795874aaa69 Catalin(ux) M. BOIE 2007-10-30 09:52:32
No need to have Changelog in git. 2b04dcd1a0a428722ae2ec490eb0ccab93a74e75 Catalin(ux) M. BOIE 2007-10-24 09:33:42
Added GIT_COMMIT stuff. e724fe6003c3e7d30f5d9f78a9ff8ae4fc958fc4 Catalin(ux) M. BOIE 2007-10-24 09:29:43
duilder should be in git repository. eb90b4b59cb3ab9dfb2d5fe3f06561110f2bca98 Catalin(ux) M. BOIE 2007-10-24 08:48:45
Added more info. b91dc05444309ef93aa3c5dc2890fbe4bcbaf82d Catalin(ux) M. BOIE 2007-10-24 08:48:27
Removed duilder from .gitignore. fb32de1325e3719c8214ac3dd4be099a66a2d36f Catalin(ux) M. BOIE 2007-10-24 08:47:33
Switch to new duilder variables. 2ad644f672ced83758a19dda33b8f23abbf60cc5 Catalin(ux) M. BOIE 2007-10-23 02:51:46
Added a new screenshot. 3cc31df36f6a78e2d17b727f9f272f9dec9f32f5 Catalin(ux) M. BOIE 2007-10-23 02:12:56
Remove link to pi. Will come back later. b98ac41d7695e2f497c69dba49ea21e3a86cf66a Catalin(ux) M. BOIE 2007-10-22 09:58:55
Exclude some auto generated files. 64b475e4b06788fb481538cf3b4d6a4c4bcedb4c Catalin(ux) M. BOIE 2007-10-22 08:59:38
Removed some leftovers. f373c6bf966de7d7318b93e75414cdadfd6e8603 Catalin(ux) M. BOIE 2007-10-22 08:56:59
Correct instalation stuff. 9caf660f3d5104028cbab81de17cf23cb3203c24 Catalin(ux) M. BOIE 2007-10-22 08:56:40
Added duilder conf file. 9db23c7c2c165d448027a818266116e313194d4c Catalin(ux) M. BOIE 2007-10-22 08:56:08
Some basic corrections. 81113acb04179336164c68c384449c1a88c4e5e1 Catalin(ux) M. BOIE 2007-10-22 08:55:31
Quiet make commands. e49c4c156f9054cad6a3c28aa77cb70da404b538 Catalin(ux) M. BOIE 2007-10-22 08:54:35
Real switch to duilder build system. 13da5d88af6419a70442c0735c4ea26b25deee21 Catalin(ux) M. BOIE 2007-10-22 08:44:00
Delete some leftovers from previous build system. Updated README and TODO. configure switched to duilder. 6a3022a0d34219e27365953204462945a4b80664 Catalin(ux) M. BOIE 2007-10-22 08:42:15
Commit 44efae853dca6b1f5c50dfdf56cfd0be5bb19792 - Renamed pwatch_counters_avail to pwatch_fdinfo_avail.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2007-11-01 23:05
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2007-11-01 23:05
Parent(s): d367b069e3f51be7e159758fc8d9e9a0ef8078bb
Signer:
Signing key:
Signing status: N
Tree: 739f204f5048e900a4020452e7a58e27cc32c7b5
File Lines added Lines deleted
src/iotop.c 1 1
src/pwatch_proc.c 1 1
src/pwatch_proc.h 1 1
File src/iotop.c changed (mode: 100644) (index e0b5eea..a01808d)
... ... int main(int argc, char *argv[])
243 243 unsigned int page = 0, max_pages = 1; unsigned int page = 0, max_pages = 1;
244 244 unsigned int last_line; unsigned int last_line;
245 245
246 if (pwatch_counters_avail() == -1) {
246 if (pwatch_fdinfo_avail() == -1) {
247 247 fprintf(stderr, "Counters are not available." fprintf(stderr, "Counters are not available."
248 248 " Please use a more recent kernel.\n"); " Please use a more recent kernel.\n");
249 249 return 1; return 1;
File src/pwatch_proc.c changed (mode: 100644) (index afad049..8e9dc7c)
... ... static unsigned int pwatch_version = 0;
17 17 * Check if fdinfo folder is available * Check if fdinfo folder is available
18 18 * Returns 0 if yes, -1 if no * Returns 0 if yes, -1 if no
19 19 */ */
20 int pwatch_counters_avail(void)
20 int pwatch_fdinfo_avail(void)
21 21 { {
22 22 DIR *d; DIR *d;
23 23 char dir[128]; char dir[128];
File src/pwatch_proc.h changed (mode: 100644) (index a1347da..98e2429)
... ... struct pwatch_proc {
31 31 }; };
32 32
33 33
34 extern int pwatch_counters_avail(void);
34 extern int pwatch_fdinfo_avail(void);
35 35
36 36 extern struct pwatch_proc *pwatch_proc_get(struct pwatch_proc *head, extern struct pwatch_proc *pwatch_proc_get(struct pwatch_proc *head,
37 37 const pid_t pid); const pid_t pid);
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/pwatch

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/pwatch

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/pwatch

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main