How to check if SLES 11 is registered ?

Hello Administrators !

I’m trying to find a way to find if a system is registered or not (SLES 11sp1) .
I’ve tried suse_register but it has not a parameter that would tell me if the system is already registered.
I’ve tried to check it other way → through Yast I started the registration module. But All information I got was that no repositories were needed to change.
Is there any other way (if possible a command) that would prove that a system is registered or not ?

Best regards,

Dynio

I’ve found something

By reading a file /var/cache/SuseRegister/lastzmdconfig.cache

I’ve found this information, by this i understand that my system is registered (am I correct? ) , however how do I read this expiration date ? :

status=“ACTIVE” expiration=“1504159200” type=“FULL”

I literally have no idea what kind of date that is …

Dynio

You should be able to see that in https://scc.suse.com/

Thomas

On 20/10/16 13:04, Cross55555 wrote:
[color=blue]

I’ve found something

By reading a file /var/cache/SuseRegister/lastzmdconfig.cache

I’ve found this information, by this i understand that my system is
registered (am I correct? ) , however how do I read this expiration date
? :

status=“ACTIVE” expiration=“1504159200” type=“FULL”

I literally have no idea what kind of date that is …[/color]

I believe that is a number of non-leap seconds, probably since 00:00:00
UTC on 1 January 1970 which would equate to 07:00:00 UTC on 31 July
2017. Does that correspond to the expiration date for the license in the
Novell (Micro Focus) and/or SUSE Customer Center?

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Hi Dynio,

I literally have no idea what kind of date that is …

as stated by Simon, that’s probably Unix time (number of seconds since 1.1.1970, 00:00). You can use “date -d@” to convert that to local time:

> date -d@1504159200 Do 31. Aug 08:00:00 CEST 2017

Regards,
J

Awesome answers
thank all of You very much ! : )
Cross