projects
/
p2p-testing-infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
clean-up and updates
[p2p-testing-infrastructure.git]
/
ControlScripts
/
parse_mon_log
/
r_parse_cp.R
1
args <- commandArgs(trailingOnly=TRUE)
2
3
source_file <- args[1]
4
output_file <- args[2]
5
6
cpu_table <- read.table(source_file, header=T)
7
8
cpu_perc <- cpu_table$CPU
9
10
pdf(file=output_file)
11
plot(cpu_perc, type="o", col="red", xlab="Time (s)", ylab="CPU Usage (%)");
12
dev.off()