Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-44236] NFS stats related /proc files should also be gathered
  • Loading branch information
batmat committed May 15, 2017
1 parent 9e1e7bd commit 1021568
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Expand Up @@ -23,6 +23,7 @@ public class JVMProcessSystemMetricsContents extends ProcFilesRetriever {
UNIX_PROC_CONTENTS.put("/proc/self/cmdline", "self/cmdline");
UNIX_PROC_CONTENTS.put("/proc/self/environ", "self/environ");
UNIX_PROC_CONTENTS.put("/proc/self/limits", "self/limits.txt");
UNIX_PROC_CONTENTS.put("/proc/self/mountstats", "self/mountstats.txt");
}

@Override
Expand Down
Expand Up @@ -65,6 +65,8 @@ public class SystemConfiguration extends ProcFilesRetriever {
UNIX_PROC_CONTENTS.put("/proc/cpuinfo", "cpuinfo.txt");
UNIX_PROC_CONTENTS.put("/proc/mounts", "mounts.txt");
UNIX_PROC_CONTENTS.put("/proc/uptime", "system-uptime.txt");
UNIX_PROC_CONTENTS.put("/proc/net/rpc/nfs", "net/rpc/nfs.txt");
UNIX_PROC_CONTENTS.put("/proc/net/rpc/nfsd", "net/rpc/nfsd.txt");
}

@Override
Expand Down
Expand Up @@ -80,11 +80,14 @@ public void takeSnapshotAndMakeSureSomethingHappens() throws Exception {
"proc/cpuinfo.txt",
"proc/mounts.txt",
"proc/system-uptime.txt",
"proc/net/rpc/nfs.txt",
"proc/net/rpc/nfsd.txt",
"proc/meminfo.txt",
"proc/self/status.txt",
"proc/self/cmdline",
"proc/self/environ",
"proc/self/limits.txt",
"proc/self/mountstats.txt",
"sysctl.txt",
"dmesg.txt",
"userid.txt",
Expand Down

0 comments on commit 1021568

Please sign in to comment.