rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: cartemem on October 29, 2015, 12:16:52 AM

Title: info
Post by: cartemem on October 29, 2015, 12:16:52 AM
hi

is there a way like html line or something to show some info like : disk space / usage / conected users / ...ect)
Title: Re: info
Post by: LeoNeeson on October 29, 2015, 08:11:03 AM
Interesting... :P may be you are looking for something similar to the design of the "Server status", used on most RapidLeech (http://anonym.to/?http://free-rapidleech.info/) servers. That would be nice. Actually, I don't know if this is possible modifying the template (and making using of HFS macros (https://www.google.com/search?q=Macros+site:rejetto.com/forum)). You need macros for...

> Server Space:
 - In Use (only by HFS)
 - Free Space (available)
 - Disk Space (disk size)

> CPU Info:
 - CPU Load
 - Server Time
 - Local Time

> File Size Limit

(http://i.imgur.com/7Jtq4RG.png)

We currently have "Server time" and "Server uptime" by default. I don't know about the rest...
Title: Re: info
Post by: bmartino1 on October 29, 2015, 05:50:41 PM
Yes, it is possible, i have seen templates and other software/code that show it in HFS
http://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands

I do know that when HFS launch in the system notification tray you can edit the HFS message of what it informs you..
In expert mode, Menu > tray Icon > message >

It goes over what is in the picture posted...

Now, you can use those same Macro code in a virtual folder to navigate to, for simplicity lets make a "info" folder
right click the house in HFS, New vitural folder, name it info

right click properties the folder and go to different template
See picture and result picture

This is where we will put that info for now...

When i re post, ill have the info:
I don't have the info for it all, but profss taht it works is in the pictures...

> Server Space:
 - In Use (only by HFS)
 - Free Space (available)
 - Disk Space (disk size)

> CPU Info:
 - CPU Load
 - Server Time
 - Local Time
Title: Re: info
Post by: cartemem on October 29, 2015, 06:11:46 PM
LOL server uptime is already included in the original template
Title: Re: info
Post by: bmartino1 on October 29, 2015, 06:23:16 PM
the point is that it is possible, and that was just an example..

Search the forum:
http://www.rejetto.com/forum/hfs-~-http-file-server/hfs-beta-277-always-show-disk-space/msg1054114/#msg1054114

http://www.rejetto.com/wiki/index.php?title=Main_Page
Title: Re: info
Post by: cartemem on October 29, 2015, 06:31:36 PM
ok thank you so much bro
let wait for the admin maybe he knows how to do it
Title: Re: info
Post by: Dave987 on October 29, 2015, 07:15:27 PM
I couldn't find a way, either, so I eventually wrote a program to get this info and load it into a text file.  Then I iframed the text file.  It wasn't perfect, but you can get used space, free space, and probable uptime.  Server time is already included, as I believe was mentioned, so that I just used as it was.
Title: Re: info
Post by: rejetto on November 01, 2015, 02:16:21 PM
all commands are listed in this page
http://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands

for example i see {.disk free.}

if you want to add more information you can
1) read it from a file using command {.load.}
2) run an external program that will proceduce the information using command {.exec.}
Title: Re: info
Post by: Dave987 on April 08, 2016, 10:40:30 PM
rejetto is absolutely correct.  What is needed for this is:  {.round|{.div| {.disk free|C:\.} | 1073741824.}|2.}