Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Why my uptime string length is so long? #18

Closed
jiegec opened this issue Oct 11, 2015 · 4 comments
Closed

Why my uptime string length is so long? #18

jiegec opened this issue Oct 11, 2015 · 4 comments

Comments

@jiegec
Copy link

jiegec commented Oct 11, 2015


                 ###                  User: imac
               ####                   Hostname: iMacs-iMac
               ###                    Distro: OS X 10.11
       #######    #######             Kernel: Darwin
     ######################           Uptime:  08:37am  up 9 days 22:13,  2 users,  load average: 1.43, 1.46, 1.48
    #####################             Shell: /usr/local/bin/fish
    ####################              Terminal: xterm-256color iTerm.app
    ####################              Packages: 102
    #####################             CPU: Intel Core i5-4570R CPU @ 2.70GHz
     ######################           Memory: 8 GB
      ####################            Disk: 19%
        ################              Battery: 
         ####     #####               IP Address: 183.54.162.150



@jiegec
Copy link
Author

jiegec commented Oct 11, 2015

That regex doesn't work for uptime in coreutils.

imac@iMacs-iMac /u/local> which uptime
/usr/local/opt/coreutils/libexec/gnubin/uptime
imac@iMacs-iMac /u/local> uptime
 08:36am  up 9 days 22:12,  2 users,  load average: 1.28, 1.44, 1.48

@jiegec jiegec changed the title Why my uptime is so long? Why my uptime string length is so long? Oct 11, 2015
@obihann
Copy link
Owner

obihann commented Oct 15, 2015

Good to know, I'll take a look into this over the next few days.

@obihann
Copy link
Owner

obihann commented Oct 18, 2015

@jiegec I've resolved this now, it should be ready for release in the next few days.

@jiegec
Copy link
Author

jiegec commented Oct 19, 2015

@obihann Thanks

@jiegec jiegec closed this as completed Oct 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants