This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
138 lines (116 loc) · 3.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<title>DNS-320 command-line php interface</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
body {
color:#8ec205;
background:#141c00;
}
#content {
}
a,
a:visited {
color:#0d0;
}
pre {
max-width:50%;
float:left;
margin:20px;
padding:20px;
border-left:1px solid
}
hr {
border:none;
}
#copy {
position:fixed;
z-index:1000;
right:-6px;
top:-6px;
font-style:italic;
font-size:1em;
padding:5px 8px;
background: #333;
border:2px solid #777;
border-radius:.7em;
opacity: 0.8;
}
</style>
</head>
<body>
<img src="dns-320-pulse.png" />
<h2>SIMPLE COMMAND-LINE INTERFACE for D-LINK SHARECENTER DNS-320</h2>
<div id="content">
<small>
Copyleft Stefano Cudini 2012 stefano.cudini@gmail.com
</small>
<ul>
<li><a href="https://opengeo.tech/dns-320-command-line/">Website</a></li>
<li><a href="https://github.com/stefanocudini/dns-320-command-line">Github</a></li>
<li><a href="https://bitbucket.org/zakis_/dns-320-command-line">Bitbucket</a></li>
<li><a href="https://opengeo.tech/dns-320-command-line/pulse">DOWNLOAD</a></li>
</ul>
<pre>
requirements:
php5-cli
recommends:
php5-curl
some features:
get or set p2p client state,
clear p2p complete list,
list or add url in http downloader,
download multiple urls from file list,
clear complete http downloads list,
get temperature,
get or set fan mode,
get ups state,
get usb disk info,
umount usb disk,
get disks usage,
get nfs shares,
get or set ftp state,
shutdown and restart system
</pre>
<pre>
OUTPUT EXAMPLE:
$ ./pulse -d -D -T -t -a -u -p -N
DISKS: 2
Volume_2: 69.74GB
Free: 45.03GB
Used: 35%
Volume_1: 893.51GB
Free: 172.79GB
Used: 81%
DOWNLOADS: 1
Download 2% 479 KBps debian.5.0.amd64.dvd.iso
TEMPERATURE: 46°C
DATE-TIME: 18/3/2012, 0:2:48
FAN: off
UPS: On Line
Battery: 100
NFS: On
P2P: Volume_2/P2P *,rw
Volume_2: Volume_2 *,rw,recycle
Volume_1: Volume_1 *,rw,recycle
P2P: On
Speed: 64.2 KBps / 46.5 KBps
Limits: -1 KBps / 20 KBps
AutoDownload: Off
Torrents: 7
Download 38% 251.5MB of 661.9MB 0.0 / 1.6 KBps #7 Elephants Dream BDRip...
Stopped 34% 138.6MB of 407.7MB 0.0 / 0.0 KBps #5 Kubuntu Linux.iso 64b...
Stopped 29% 47MB of 1.45GB 0.0 / 0.0 KBps #4 Sintel 2010 1080p Xvi...
Stopped 15% 261.1MB of 1.7GB 0.0 / 0.0 KBps #1 PBig Buck Bunny 720p ...
Download 10% 153.6MB of 1.5GB 19h:4m 24.3 / 37.0 KBps #3 Debian 6 0 i386 - CD1...
Download 5% 24.4MB of 658.0MB 4h:3m 37.8 / 1.2 KBps #2 Debian 6 0 i386 - CD2...
Stopped 0% 0B of 710.0MB 0.0 / 0.0 KBps #6 Debian 6 0 i386 - CD3...
</pre>
</div>
<hr />
<div id="copy"><a href="https://opengeo.tech/">Labs</a> • <a rel="author" href="https://opengeo.tech/stefano-cudini/">Stefano Cudini</a></div>
<div id="disqus_thread"></div>
<script type="text/javascript" src="/labs-common.js"></script>
</body>
</html>