Forum Discussion
jcook_105986
Nimbostratus
Jul 10, 2008plz help me to get the general info of a F5 server
thx for replying my last question.
(http://devcentral.f5.com/Default.aspx?tabid=53&forumid=1&postid=25735&view=topic)
I had no idea the return value from
"get_evaluation_license_expiration()" method represents
the time passed in seconds since 1970, jan, 1, 00:00am, GMT.
It just looked like system ticks to me.
Beside..."iControl(R) SDK v9.6.0" manual does not say anything,
except "The time when the evaluation expires."
How am I suppose to know the right unit with only that explanation.
Anyway, plz help me to look for the right API functions,
if I want to find the following information.
1) CPU Mode
2) network boot
3) quite boot
4) display lcd system menu
5) memory restart percent
All I need is just couple lines of advise.
(please refer to the attached img, if you are not sure
what subject Im talking about.)
Thank you so much in advance.
1 Reply
- Sorry for the confusion on the time value, hopefully you've got it figured out now. All of our times that are returned as a long value are values returned from the "C" ctime command. I'll look into getting the docs updated with that extra details. Thanks for the feedback!
As for the other information you are looking for, a couple are database keys accessible with the Management.DBVariable interface.
1) CPU Mode
This may be one that is not implemented in the API. I don't see it on first glance and I don't see the value in the database. I'll keep looking and let you know what I find.
2) Network boot
DB Key: Boot.NetReboot
3) Quiet boot
DB Key: Boot.Quiet
4) Display LCD System Menu
DB Key: LCD.showmenu
5) Memory restart percent
I'm running 9.4.3 and I don't have this option on my system general properties so it may have gone away. I'd look in the db for this value. On the console if you type "b db" it will dump out all of the database keys and values and this is likely in there.
I've got a few tech tips and samples in the CodeShare around the DBVariable interface if you have trouble using it. It's fairly straightforward though.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
