mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Fix check_swap.
PR: 219068 Submitted by: Markus Wennrich Sponsored by: Absolight
This commit is contained in:
parent
ff42e1580f
commit
b18ecb298e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440109
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= nagios-plugins
|
||||
PORTVERSION= 2.2.1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://www.nagios-plugins.org/download/ \
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- configure.orig 2017-04-19 16:03:27 UTC
|
||||
+++ configure
|
||||
@@ -22004,7 +22004,7 @@ then
|
||||
--- configure.orig 2017-04-19 18:03:27.000000000 +0200
|
||||
+++ configure
|
||||
@@ -22004,7 +22004,7 @@
|
||||
$as_echo "$ac_cv_ps_command" >&6; }
|
||||
|
||||
elif ps -axwwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \
|
||||
@ -9,3 +9,12 @@
|
||||
then
|
||||
ac_cv_ps_varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos"
|
||||
ac_cv_ps_command="$PATH_TO_PS -axwwo 'stat uid pid ppid vsz rss pcpu comm args'"
|
||||
@@ -23798,7 +23798,7 @@
|
||||
|
||||
if $PATH_TO_SWAPINFO -k 2>/dev/null | egrep -i "^Device +1K-blocks +Used +Avail" >/dev/null
|
||||
then
|
||||
- ac_cv_swap_format="%*s %f %*d %f"
|
||||
+ ac_cv_swap_format="%*s %lf %*d %lf"
|
||||
ac_cv_swap_conv=1024
|
||||
{ $as_echo "$as_me:$LINENO: result: using FreeBSD format swapinfo" >&5
|
||||
$as_echo "using FreeBSD format swapinfo" >&6; }
|
||||
|
Loading…
Reference in New Issue
Block a user