rejetto forum

info

0 Members and 1 Guest are viewing this topic.

Offline cartemem

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
hi

is there a way like html line or something to show some info like : disk space / usage / conected users / ...ect)


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 789
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Interesting... :P may be you are looking for something similar to the design of the "Server status", used on most RapidLeech servers. That would be nice. Actually, I don't know if this is possible modifying the template (and making using of HFS macros). 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



We currently have "Server time" and "Server uptime" by default. I don't know about the rest...


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 906
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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
« Last Edit: October 29, 2015, 06:00:50 PM by bmartino1 »
Files i try to keep and share can be found on my google drive:

https://drive.google.com/drive/folders/1FOWi3Gqaldld6JLXvZ-biDv4RSguf0IC?usp=sharing


Offline cartemem

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
LOL server uptime is already included in the original template


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 906
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
« Last Edit: October 30, 2015, 12:30:32 AM by bmartino1 »
Files i try to keep and share can be found on my google drive:

https://drive.google.com/drive/folders/1FOWi3Gqaldld6JLXvZ-biDv4RSguf0IC?usp=sharing


Offline cartemem

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
ok thank you so much bro
let wait for the admin maybe he knows how to do it


Offline Dave987

  • Occasional poster
  • *
    • Posts: 25
    • View Profile
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
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.}


Offline Dave987

  • Occasional poster
  • *
    • Posts: 25
    • View Profile
rejetto is absolutely correct.  What is needed for this is:  {.round|{.div| {.disk free|C:\.} | 1073741824.}|2.}