diff options
Diffstat (limited to 'web/attachments/186091-check_mem.pl.patch')
-rw-r--r-- | web/attachments/186091-check_mem.pl.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/web/attachments/186091-check_mem.pl.patch b/web/attachments/186091-check_mem.pl.patch new file mode 100644 index 0000000..9eaec75 --- /dev/null +++ b/web/attachments/186091-check_mem.pl.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | *** check_mem.pl 2006-05-24 15:47:09.000000000 -0700 | ||
2 | --- modified_check_mem.pl 2006-07-24 13:58:06.000000000 -0700 | ||
3 | *************** | ||
4 | *** 46,51 **** | ||
5 | |||
6 | # Define the calculating scalars | ||
7 | ! $used_memory = $memlist[0]; | ||
8 | ! $free_memory = $memlist[1]; | ||
9 | $total_memory = $used_memory + $free_memory; | ||
10 | |||
11 | --- 46,51 ---- | ||
12 | |||
13 | # Define the calculating scalars | ||
14 | ! $used_memory = $memlist[1]; | ||
15 | ! $free_memory = $memlist[0]; | ||
16 | $total_memory = $used_memory + $free_memory; | ||
17 | |||