Package Details: startuptime 6-1

Package Base: startuptime
Description: A simple tool to show the time taken to boot the OS and compare your time with others (Linux boot with systemd only)
Upstream URL: https://github.com/Kelvin-Ng/startuptime-client
Category: system
Licenses: GPL
Submitter: qpalz
Maintainer: qpalz
Last Packager: None
Votes: 6
First Submitted: 2013-01-06 05:10
Last Updated: 2013-01-11 04:45

Latest Comments

Comment by 4679kun

2014-08-05 13:02

更新了

Comment by mrbit

2013-01-11 14:19

so , work..

in the PKGBUILD add line 24 sed -i '25s|":"|"?"|g' startuptime.sh

Comment by mrbit

2013-01-11 14:18


strange ...seems to be a problem codicfica character "?"--> ":"

Comment by mrbit

2013-01-11 13:39


error --> kded4 -v|tail -n +2|head -n +1|cut -d"::" -f2

ok ---> kded4 -v|tail -n +2|head -n +1|cut -d"?:" -f2

Comment by mrbit

2013-01-11 13:33

yes ...!!!!

Comment by qpalz

2013-01-11 13:14

@mrbit

... Strange...
Downloading the source directly works but using PKGBUILD does not work...

Comment by mrbit

2013-01-11 13:11

package v6.tar.gz

Comment by qpalz

2013-01-11 13:04

@mrbit

What is /home/mrbit/aur3/startuptime/src/startuptime-client-6/startuptime.sh? Come from directly downloading the source or makepkg?

Comment by mrbit

2013-01-11 13:02

done: !!!!?!??!!?

/home/mrbit/aur3/startuptime/src/startuptime-client-6/startuptime.sh
cut: the delimiter must be a single character
Try 'cut --help' for more information.

Comment by qpalz

2013-01-11 12:57

Try download the PKGBUILD again, clean everything, and install it again then... Really strange...

Comment by mrbit

2013-01-11 12:55

..!?!? yeesss !!! why...

Comment by qpalz

2013-01-11 12:54

@mrbit

Really work?! Really strange!

Comment by mrbit

2013-01-11 12:53

!!!! ok done.
work..!!?!?!?

Comment by qpalz

2013-01-11 12:46

@mrbit

You mean no one tell you about that? Try downloading the source directly and extract it. Run ./startuptime.sh then.

Comment by mrbit

2013-01-11 12:43

installing so out of curiosity...try...

Comment by qpalz

2013-01-11 12:36

@mrbit

Really quite strange... As the author of this script, I do not know what is happening.

Actually, I would like to know how do you know this script?

Comment by mrbit

2013-01-11 12:35

startuptime.sh
cut: the delimiter must be a single character
Try 'cut --help' for more information.

Strange !!!??..!!

Comment by qpalz

2013-01-11 12:23

@mrbit

There is really no problem! There is only one character between each '' and there should not be this error.

Comment by mrbit

2013-01-11 12:01

checkUpdate

uptime=`cat /proc/uptime | cut -d'.' -f1`
outUptime=$(formatTime $uptime)
bootTime_tmp=`systemd-analyze | cut -d' ' -f13`
if [ -z "$bootTime_tmp" ]; then
bootTime_tmp=`systemd-analyze | cut -d' ' -f10`
fi
bootTime_tmp=`echo $bootTime_tmp | cut -d'm' -f1`
bootTime=$((bootTime_tmp / 1000))
outBootTime=$(formatTime $bootTime)
desktopTime=$(($uptime - $bootTime))
outDesktopTime=$(formatTime desktopTime)
outPos=$(getpos)
pos=`echo $outPos | cut -d'/' -f1`
num=`echo $outPos | cut -d'/' -f2`
percent=$(((num - pos) * 100 / num))
outDS

Comment by qpalz

2013-01-11 12:00

@mrbit

Well, it seems that there is no any problem. Actually, it works for me and even many people. But where are line 66 and 67?

Comment by mrbit

2013-01-11 11:50

checkUpdate

uptime=`cat /proc/uptime | cut -d'.' -f1`
outUptime=$(formatTime $uptime)
bootTime_tmp=`systemd-analyze | cut -d' ' -f13`
if [ -z "$bootTime_tmp" ]; then
bootTime_tmp=`systemd-analyze | cut -d' ' -f10`
fi
bootTime_tmp=`echo $bootTime_tmp | cut -d'm' -f1`

Comment by qpalz

2013-01-11 11:37

@mrbit

Could you please post me line 54, 56, 58, 60, 66 and 67?

Comment by mrbit

2013-01-11 07:42

startuptime.sh
cut: the delimiter must be a single character
Try 'cut --help' for more information.