/dports/irc/eggdrop/eggdrop-1.9.1/src/mod/uptime.mod/ |
H A D | Makefile | 11 static: ../uptime.o 13 modules: ../../../uptime.$(MOD_EXT) 15 ../uptime.o: 16 $(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/uptime.c && mv -f uptime.o ../ 18 ../../../uptime.$(MOD_EXT): ../uptime.o 19 …$(LD) $(CFLAGS) -o ../../../uptime.$(MOD_EXT) ../uptime.o $(XLIBS) $(MODULE_XLIBS) && $(STRIP) ../… 22 $(CC) $(CFLAGS) -MM $(srcdir)/uptime.c -MT ../uptime.o > .depend 30 ../uptime.o: .././uptime.mod/uptime.c .././uptime.mod/uptime.h \ 31 .././uptime.mod/../module.h ../../../src/main.h ../../../config.h \ 39 .././uptime.mod/../modvals.h ../../../src/tandem.h \ [all …]
|
/dports/devel/kf5-kio/kio-5.89.0/src/urifilters/ikws/searchproviders/ |
H A D | netcraft.desktop | 95 Query=https://uptime.netcraft.com/up/graph?site=\\{@} 96 Query[ar]=https://uptime.netcraft.com/up/graph?site=\\{@} 98 Query[az]=https://uptime.netcraft.com/up/graph?site=\\{@} 99 Query[ca]=https://uptime.netcraft.com/up/graph?site=\\{@} 101 Query[cs]=https://uptime.netcraft.com/up/graph?site=\\{@} 102 Query[da]=https://uptime.netcraft.com/up/graph?site=\\{@} 103 Query[de]=https://uptime.netcraft.com/up/graph?site=\\{@} 104 Query[el]=https://uptime.netcraft.com/up/graph?site=\\{@} 106 Query[es]=https://uptime.netcraft.com/up/graph?site=\\{@} 107 Query[et]=https://uptime.netcraft.com/up/graph?site=\\{@} [all …]
|
/dports/net-mgmt/super_mediator/super_mediator-1.6.0/src/ |
H A D | mediator_stat.c | 114 uint64_t uptime = 0; in mdLogStats() local 121 days = uptime/86400; in mdLogStats() 123 hours = (uptime/3600); in mdLogStats() 125 mins = (uptime/60); in mdLogStats() 126 uptime -= (mins * 60); in mdLogStats() 170 days = uptime/86400; in mdStatUpdate() 171 uptime -= (days * 86400); in mdStatUpdate() 172 hours = uptime/3600; in mdStatUpdate() 173 uptime -= (hours * 3600); in mdStatUpdate() 174 mins = uptime/60; in mdStatUpdate() [all …]
|
/dports/net/tcpdump/tcpdump-4.99.1/tests/ |
H A D | hdlc3.out | 1 …20), keepalive: mineseen=0x00000005, yourseen=0x00000002, reliability=0xffff, link uptime=0d2h12m5s 2 …0), keepalive: mineseen=0x00000003, yourseen=0x00000005, reliability=0xffff, link uptime=0d6h51m44s 3 …0), keepalive: mineseen=0x00000006, yourseen=0x00000003, reliability=0xffff, link uptime=0d2h12m15s 4 …0), keepalive: mineseen=0x00000004, yourseen=0x00000006, reliability=0xffff, link uptime=0d6h51m54s 5 …0), keepalive: mineseen=0x00000007, yourseen=0x00000004, reliability=0xffff, link uptime=0d2h12m25s 6 …20), keepalive: mineseen=0x00000005, yourseen=0x00000007, reliability=0xffff, link uptime=0d6h52m4s 18 …0), keepalive: mineseen=0x00000008, yourseen=0x00000005, reliability=0xffff, link uptime=0d2h12m35s 19 …0), keepalive: mineseen=0x00000006, yourseen=0x00000008, reliability=0xffff, link uptime=0d6h52m14s 21 …0), keepalive: mineseen=0x00000009, yourseen=0x00000006, reliability=0xffff, link uptime=0d2h12m45s 22 …0), keepalive: mineseen=0x00000007, yourseen=0x00000009, reliability=0xffff, link uptime=0d6h52m24s [all …]
|
/dports/net-mgmt/librenms/librenms-21.5.1/includes/polling/ |
H A D | core.inc.php | 26 [$uptime] = explode(' ', $agent_data['uptime']); 27 $uptime = round($uptime); variable 28 echo "Using UNIX Agent Uptime ($uptime)\n"; 32 $uptime = max( variable 37 d_echo("Uptime seconds: $uptime\n"); 41 if ($uptime < $device['uptime']) { 48 data_update($device, 'uptime', $tags, $uptime); 52 echo 'Uptime: ' . Time::formatInterval($uptime) . PHP_EOL; 54 $update_array['uptime'] = $uptime; 55 $device['uptime'] = $uptime; [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/example/mock/uptime/ |
H A D | README.md | 1 The uptime mock example 8 The problem with testing the uptime command is that /proc/uptime constantly 17 the /proc/uptime file. 18 * *uptime.c*: This is the actual uptime implementation, it calls 20 This function calls `uptime()` from proc_uptime.c. 28 ld --wrap=uptime 30 This replaces the orginal `uptime()` function which reads from `/proc/uptime` 38 The symbol `uptime` will be bound to `__wrap_uptime`. 42 The uptime test 50 LD_DEBUG=symbols ./example/uptime/uptime [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/example/mock/uptime/ |
H A D | README.md | 1 The uptime mock example 8 The problem with testing the uptime command is that /proc/uptime constantly 17 the /proc/uptime file. 18 * *uptime.c*: This is the actual uptime implementation, it calls 20 This function calls `uptime()` from proc_uptime.c. 28 ld --wrap=uptime 30 This replaces the orginal `uptime()` function which reads from `/proc/uptime` 38 The symbol `uptime` will be bound to `__wrap_uptime`. 42 The uptime test 50 LD_DEBUG=symbols ./example/uptime/uptime [all …]
|
/dports/sysutils/cmocka/cmocka-1.1.5/example/mock/uptime/ |
H A D | README.md | 1 The uptime mock example 8 The problem with testing the uptime command is that /proc/uptime constantly 17 the /proc/uptime file. 18 * *uptime.c*: This is the actual uptime implementation, it calls 20 This function calls `uptime()` from proc_uptime.c. 28 ld --wrap=uptime 30 This replaces the orginal `uptime()` function which reads from `/proc/uptime` 38 The symbol `uptime` will be bound to `__wrap_uptime`. 42 The uptime test 50 LD_DEBUG=symbols ./example/uptime/uptime [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/example/mock/uptime/ |
H A D | README.md | 1 The uptime mock example 8 The problem with testing the uptime command is that /proc/uptime constantly 17 the /proc/uptime file. 18 * *uptime.c*: This is the actual uptime implementation, it calls 20 This function calls `uptime()` from proc_uptime.c. 28 ld --wrap=uptime 30 This replaces the orginal `uptime()` function which reads from `/proc/uptime` 38 The symbol `uptime` will be bound to `__wrap_uptime`. 42 The uptime test 50 LD_DEBUG=symbols ./example/uptime/uptime [all …]
|
/dports/net-mgmt/icingaweb2-module-graphite/icingaweb2-module-graphite-1.1.0/templates/ |
H A D | uptime.ini | 1 [uptime.graph] 2 check_command = "mysql_health, uptime-windows" 4 [uptime.metrics_filters] 5 value = "$service_name_template$.perfdata.uptime.value" 7 [uptime.urlparams] 14 [uptime.functions] 18 [uptime-snmp.graph] 19 check_command = "snmp-uptime" 21 [uptime-snmp.metrics_filters] 24 [uptime-snmp.urlparams] [all …]
|
/dports/sysutils/xfce4-systemload-plugin/xfce4-systemload-plugin-1.3.1/panel-plugin/ |
H A D | uptime.c | 46 gulong uptime; in read_uptime() local 53 if (!fscanf(fd, "%lu", &uptime)) in read_uptime() 54 uptime = 0; in read_uptime() 57 return uptime; in read_uptime() 95 gulong uptime; in read_uptime() local 100 uptime = now - boottime.tv_sec; in read_uptime() 105 uptime = 0; in read_uptime() 108 return uptime; in read_uptime() 121 gulong uptime; in read_uptime() local 131 uptime = 0; in read_uptime() [all …]
|
/dports/devel/p5-Unix-Uptime/Unix-Uptime-0.3701/samples/ |
H A D | uptime.pl | 12 uptime_fmt(Unix::Uptime->uptime()), 18 my $uptime = shift; 22 $uptime += 30 if $uptime > 60; 23 my $days = $uptime / 86400; 24 $uptime %= 86400; 25 my $hrs = $uptime / 3600; 26 $uptime %= 3600; 27 my $mins = $uptime / 60; 28 my $secs = $uptime % 60;
|
/dports/x11-wm/sawfish/sawfish_1.13.0/next-lisp/ |
H A D | uptimes.jl | 133 (let* ((uptime (uptimes-uptime boottime endtime)) 134 (days (car uptime)) 154 (let* ((uptime (uptimes-uptime-list boottime endtime)) 223 "Start an uptime display." 230 "Clear an uptime display." 245 (defun uptimes-toggle-uptime () 248 (if uptimes-uptime-visible 252 (uptimes-display-uptime t) 256 (defun uptimes-format-uptime (s uptime) 264 (uptimes-uptime-string (cadr uptime) (cddr uptime)) [all …]
|
/dports/net-mgmt/mrtg/mrtg-2.17.4/contrib/ovmrtg/ |
H A D | ovcvtfile | 50 $uptime = pretty_uptime_value(); 61 $uptime 111 my ($uptime) = get(5,0); 112 if ($uptime == 0){ 118 $uptime = int ($uptime / 100); 119 $days = int ($uptime / (60 * 60 * 24)); 120 $uptime %= (60 * 60 * 24); 121 $hours = int ($uptime / (60 * 60)); 122 $uptime %= (60 * 60); 123 $minutes = int ($uptime / 60); [all …]
|
/dports/net-p2p/eiskaltdcpp-cli/eiskaltdcpp-2.2.10/data/luascripts/ |
H A D | uptime.lua | 4 if not uptime then 5 uptime = {} 6 uptime.start = os.time() 7 uptime.diff = function() 8 return os.difftime( os.time(), uptime.start ) 10 uptime.format = function() 11 local s = uptime.diff() 22 hub:addLine( "Uptime: "..uptime.format() ) 25 hub:sendChat( "My DC++ client uptime is: "..uptime.format() )
|
/dports/net-p2p/eiskaltdcpp-lib/eiskaltdcpp-2.2.10/data/luascripts/ |
H A D | uptime.lua | 4 if not uptime then 5 uptime = {} 6 uptime.start = os.time() 7 uptime.diff = function() 8 return os.difftime( os.time(), uptime.start ) 10 uptime.format = function() 11 local s = uptime.diff() 22 hub:addLine( "Uptime: "..uptime.format() ) 25 hub:sendChat( "My DC++ client uptime is: "..uptime.format() )
|
/dports/net-p2p/eiskaltdcpp-gtk/eiskaltdcpp-2.2.10/data/luascripts/ |
H A D | uptime.lua | 4 if not uptime then 5 uptime = {} 6 uptime.start = os.time() 7 uptime.diff = function() 8 return os.difftime( os.time(), uptime.start ) 10 uptime.format = function() 11 local s = uptime.diff() 22 hub:addLine( "Uptime: "..uptime.format() ) 25 hub:sendChat( "My DC++ client uptime is: "..uptime.format() )
|
/dports/net-p2p/eiskaltdcpp-data/eiskaltdcpp-2.2.10/data/luascripts/ |
H A D | uptime.lua | 4 if not uptime then 5 uptime = {} 6 uptime.start = os.time() 7 uptime.diff = function() 8 return os.difftime( os.time(), uptime.start ) 10 uptime.format = function() 11 local s = uptime.diff() 22 hub:addLine( "Uptime: "..uptime.format() ) 25 hub:sendChat( "My DC++ client uptime is: "..uptime.format() )
|
/dports/net-p2p/eiskaltdcpp-daemon/eiskaltdcpp-2.2.10/data/luascripts/ |
H A D | uptime.lua | 4 if not uptime then 5 uptime = {} 6 uptime.start = os.time() 7 uptime.diff = function() 8 return os.difftime( os.time(), uptime.start ) 10 uptime.format = function() 11 local s = uptime.diff() 22 hub:addLine( "Uptime: "..uptime.format() ) 25 hub:sendChat( "My DC++ client uptime is: "..uptime.format() )
|
/dports/net/samba412/samba-4.12.15/ctdb/server/ |
H A D | ctdb_uptime.c | 41 struct ctdb_uptime *uptime; in ctdb_control_uptime() local 43 uptime = talloc_zero(outdata, struct ctdb_uptime); in ctdb_control_uptime() 44 CTDB_NO_MEMORY(ctdb, uptime); in ctdb_control_uptime() 46 gettimeofday(&uptime->current_time, NULL); in ctdb_control_uptime() 47 uptime->ctdbd_start_time = ctdb->ctdbd_start_time; in ctdb_control_uptime() 48 uptime->last_recovery_started = ctdb->last_recovery_started; in ctdb_control_uptime() 49 uptime->last_recovery_finished = ctdb->last_recovery_finished; in ctdb_control_uptime() 52 outdata->dptr = (uint8_t *)uptime; in ctdb_control_uptime()
|
/dports/irc/epic4/epic4-2.10.9/script/ |
H A D | time | 17 # This will get the time from the uptime program and put it in the 18 # variable uptime 19 on ^exec "uptime *" { 20 @ uptime = [$1] 22 on ^exec_exit "uptime" 23 alias uptime { 24 exec -name uptime uptime 25 wait %uptime
|
/dports/irc/ircII/ircii-20210314/script/ |
H A D | time | 7 # This will get the time from the uptime program and put it in the 8 # variable uptime 9 on ^exec uptime assign uptime $1 10 on ^exec_exit uptime 11 alias uptime exec -name uptime uptime;wait -cmd %uptime $()
|
/dports/sysutils/py-salt/salt-3004.1/tests/unit/modules/ |
H A D | test_uptime.py | 1 import salt.modules.uptime as uptime namespace 52 uptime: { 62 ret = uptime.checks_list() 66 self.assertTrue(uptime.check_exists("http://example.org") is True) 69 self.assertRaises(CommandExecutionError, uptime.create, "http://example.org") 70 self.assertEqual(4321, uptime.create("http://example.com")) 74 self.assertRaises(CommandExecutionError, uptime.delete, "http://example.com") 75 self.assertTrue(uptime.delete("http://example.org") is True)
|
/dports/sysutils/bsdinfo/bsdinfo-7ed6607958035244870877191c2764c9ba77f19d/ |
H A D | bsdinfo.h | 55 time_t uptime; in printuptime() local 60 uptime = tp.tv_sec; in printuptime() 61 if (uptime > 60) in printuptime() 62 uptime += 30; in printuptime() 63 days = uptime / 86400; in printuptime() 64 uptime %= 86400; in printuptime() 65 hrs = uptime / 3600; in printuptime() 66 uptime %= 3600; in printuptime() 67 mins = uptime / 60; in printuptime() 68 secs = uptime % 60; in printuptime()
|
/dports/net-mgmt/p5-FusionInventory-Agent/FusionInventory-Agent-2.5.2/lib/FusionInventory/Agent/Task/Inventory/HPUX/ |
H A D | Uptime.pm | 22 my $uptime = _getUptime(command => 'uptime'); 24 DESCRIPTION => "$arch/$uptime" 34 my $uptime = 0; 35 $uptime += $days * 24 * 3600 if $days; 36 $uptime += $hours * 3600; 37 $uptime += $minutes * 60; 39 return getFormatedGMTTime($uptime);
|