Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

10 617 Posts in 5 992 Topics- by 1 216 Members - Latest Member: santini862

11 December 2019, 12:33
Select Language English | Russian ru | German
Main PageIRC Client KVIrc forumRussian talksСкриптингГотовые скриптыРеализация uptime для Linux & Windows
Pages: 1 [2]
Print
Author Topic: Реализация uptime для Linux & Windows  (Read 78771 times)
0 Members and 1 Guest are viewing this topic.
Maximusya
Глобальный модератор
*****

Репутация: 49
Gender: Male
Posts: 343



View Profile
« Reply #15 on: 10 September 2007, 19:54 »

noLove, спасибо за информацию) Единственный недостаток - теперь скрипт выполняется дольше. Да и процедура получения информации о системе, я думаю, может занимать продолжительное время.
Тем не менее, вот новый коротенький скрипт, выдающий аптайм в Windows системах.
Он устанавливается в пространство имен UPTIME2.
Внимание! Создается алиас uptime! Если у вас имеется такой же, сделайте, что вам нужно)
Logged
Alexey
Администратор
*****

Репутация: 45
Posts: 203


View Profile Email
« Reply #16 on: 11 September 2007, 15:07 »

у меня такой команты нету на вынь хп
Logged
Maximusya
Глобальный модератор
*****

Репутация: 49
Gender: Male
Posts: 343



View Profile
« Reply #17 on: 11 September 2007, 18:48 »

systeminfo нету? А какая WinXP у тебя? У меня на WinXP Pro SP2 она есть.
Logged
Alexey
Администратор
*****

Репутация: 45
Posts: 203


View Profile Email
« Reply #18 on: 12 September 2007, 07:49 »

xp home sp2
Logged
noLove
Глобальный модератор
*****

Репутация: 17
Posts: 181



View Profile
« Reply #19 on: 14 September 2007, 22:09 »

странноо... я еще ни одной винды не встречал, начиная с хп, которая бы не имела systeminfo.... может это особенности home edition?
Logged

kns
Постоялец
***

Репутация: 38
Gender: Male
Posts: 232


View Profile WWW
« Reply #20 on: 1 May 2008, 20:13 »

М...
Я сделал по-деревенски. Smiley
Code:
exec -d ("/upt.exe")
{
%t = $integer($real($1))

%ticksperday = $(1000 * 60 * 60 * 24)
%ticksperhour = $(1000 * 60 * 60)
%ticksperminute = $(1000 * 60)
%tickspersecond = 1000

# echo %t
%d = $(%t / %ticksperday)
%t = $(%t - %d * %ticksperday)

%h = $(%t / %ticksperhour)
%t = $(%t - %h * %ticksperhour)

%m = $(%t / %ticksperminute)
%t = $(%t - %m * %ticksperminute)

%s = $(%t / %tickspersecond)

echo "Uptime: %d Days %h Hours %m Minutes %s Seconds"
}

Собственно, сам способ нарыт на просторах интернета. Smiley

upt.exe прилагается.

P.S. А systeminfo правда нет в Home Edition. И, вроде, никогда и не было.
« Last Edit: 2 May 2008, 20:47 by kns » Logged
Vampirsha
Новичок
*

Репутация: 0
Posts: 10


View Profile
« Reply #21 on: 18 November 2008, 03:04 »

а для Висты есть скрипт?
Logged
kns
Постоялец
***

Репутация: 38
Gender: Male
Posts: 232


View Profile WWW
« Reply #22 on: 18 November 2008, 11:40 »

а для Висты есть скрипт?

А вон та хренотень, что я выше прилепил, не работает?
Logged
Reiser
Новичок
*

Репутация: 0
Posts: 4


View Profile
« Reply #23 on: 6 March 2009, 01:51 »

что-то на unix не прокатывает, считает /proc/uptime пустым, видимо прочитать не может...
Logged
kns
Постоялец
***

Репутация: 38
Gender: Male
Posts: 232


View Profile WWW
« Reply #24 on: 6 March 2009, 12:34 »

что-то на unix не прокатывает, считает /proc/uptime пустым, видимо прочитать не может...
Unix == FreeBSD? Там и не прочитает...
Logged
Vampirsha
Новичок
*

Репутация: 0
Posts: 10


View Profile
« Reply #25 on: 20 August 2010, 19:47 »

А напишите пожалуйста скрипт для 4 квирка под линукс.
Logged
UnInViTeD
Новичок
*

Репутация: 0
Gender: Male
Posts: 8



View Profile WWW Email
« Reply #26 on: 12 November 2010, 18:52 »

ссылки не пашут (:
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #27 on: 8 August 2018, 11:58 »

chanyuan2018.08.08
polo ralph lauren
ray ban sunglasses
kevin durant shoes
uggs outlet
ecco shoes
michael kors
canada goose jackets
ralph lauren pas cher
mulberry bags
cheap jordans
ferragamo outlet
kobe shoes
stuart weitzman shoes
jordan shoes
pandora jewelry
mavericks jerseys
birkenstock outlet
air max 97
ed hardy clothing
bcbg dresses
ysl outlet
christian louboutin outlet
canada goose outlet
hermes outlet
coach outlet
cheap jordans
ugg outlet
heat jerseys
five fingers shoes
polo ralph lauren
nba jerseys
adidas trainers
lebron james shoes
wellensteyn jackets
ugg outlet
longchamp handbags
coach outlet online
kevin durant jerseys
san francisco 49ers jerseys
soccer shoes
canada goose jackets
prada handbags
nike air max 2015
nike roshe one
true religion jeans
manchester united jersey
polo ralph lauren
ugg boots
mulberry handbags
nuggets jerseys
jordan shoes
pandora charms
tory burch outlet
canada goose outlet
jordan 32
michael kors outlet
ralph lauren polo
salomon shoes
oakley sunglasses
coach factory outlet
polo ralph lauren
montblanc pens
ralph lauren polo shirts
belstaff jackets
coach outlet
pandora outlet
kobe 9
chrome hearts outlet
dansko shoes
coach outlet
kate spade outlet
canada goose outlet
ugg boots
coach outlet online
celine outlet
christian louboutin outlet
real madrid jersey
michael kors outlet
uggs outlet
true religion outlet
true religion jeans
swarovski outlet
air huarache
cheap nfl jerseys
suicoke sandals
adidas soccer shoes
michael kors outlet
clarks shoes
canada goose outlet
ugg outlet
fossil watches
canada goose jackets
christian louboutin outlet
michael kors handbags
coach outlet
baltimore ravens jerseys
true religion outlet
knicks jerseys
canada goose parka
nhl jerseys
pandora charms
new balance shoes
michael kors
cleveland cavaliers jersey
ferragamo shoes
air jordan retro
a bathing ape
canada goose outlet
nike revolution
nike free
longchamp outlet
alife clothing
polo outlet
coach outlet
givenchy handbags
celtics jerseys
ugg outlet
chicago blackhawks jerseys
air max 2017
cheap jerseys
chelsea jersey
miu miu handbags
ugg boots clearance
burberry outlet
michael kors handbags
canada goose jackets
pandora jewelry
balenciaga sneakers
links of london
soccer jerseys
coach outlet online
nike store
coach outlet
pandora charms
prada outlet
nike outlet
kate spade outlet
nike shoes
moncler jackets
james harden jerseys
denver broncos jerseys
longchamp outlet
nba jerseys
kate spade outlet
ferragamo outlet
coach outlet online
tory burch outlet
dc shoes
uggs outlet
nike air max
cheap jordans
adidas crazy
uggs outlet
air max uk
kate spade outlet
fitflops
coach handbags
carrera sunglasses
michael kors handbags
michael kors uk
polo ralph lauren
canada goose jackets
canada goose outlet
suns jerseys
warriors jerseys
ugg boots
swarovski outlet
nike tennis
canada goose
kyrie 4
coach factory outlet
swarovski crystal
true religion jeans
coach outlet
gucci outlet
michael kors outlet
coach outlet online
ugg outlet
michael kors outlet
true religion jeans
polo ralph lauren
longchamp handbags
michael kors outlet
columbia sportswear
polo ralph lauren
air max 90
michael kors outlet online
canada goose jackets
bape clothing
fitflops outlet
barcelona jersey
ray ban sunglasses
pistons jerseys
louboutin pas cher
canada goose outlet
canada goose jackets
michael kors outlet
air max 97
cheap jordans
coach outlet online
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #28 on: 22 August 2018, 15:49 »

20180822xiaoke
coach outlet online
cheap oakley sunglasses
cheap jordan shoes
pandora charms
cheap jordans
fitflops sandals
kate spade purses
canada goose jackets outlet
fingerlings monkey
air jordan shoes
ralph lauren shirts
ugg boots
bape clothing
michael kors online
isabel marant shoes
ray ban sunglasses outlet
canada goose outlet online
ralph lauren
polo ralph lauren
christian louboutin
ugg boots outlet
burberry outlet stores
ugg outlet online
oakley sunglasses wholesale
coach outlet store online
ugg boots for women
nike outlet
canada goose jackets
canada goose jackets
cheap jordan shoes
oakley sunglasses wholesale
uggs outlet online
coach factory outlet
ugg outlet
nfl jerseys wholesale
christian louboutin
ugg outlet,ugg outlet stores
nike outlet store
north face
air max 1
jimmy choo shoes
michael kors outlet clearance
ralph lauren outlet
kate spade
canada goose coats
baltimore ravens jersey
michael kors outlet clearance
coach outlet store
jordan shoes
cheap oakley sunglasses
ralph lauren polo
christian louboutin
ralph lauren outlet online
moncler jackets
canada goose jackets sale
moncler outlet
cheap jordans
kate spade outlet online
longchamp solde
christian louboutin sale
michael kors outlet clearance
swarovski jewellery
prada shoes on sale
mbt outlet
cheap jordans
ugg boots
polo ralph lauren
polo ralph lauren outlet online
christian louboutin sale
michael kors outlet online
mbt shoes clearance
ray ban outlet store
polo ralph lauren shirts
coach factory outlet
christian louboutin
pandora outlet
jordan shoes
chrome hearts sunglasses
true religion jeans sale
air max 2018
pandora outlet
polo ralph lauren outlet online
guess factory
air jordan shoes
supreme shirts
coach factory outlet
canada goose outlet
christian louboutin
ugg outlet
canada goose outlet store
coach factory outlet online
kate spade outlet store
pandora outlet
coach factory outlet
michael kors outlet
san antonio spurs jersey
chrome hearts jewelry
adidas shoes
michael kors outlet
ralph lauren
chrome hearts clothing
michael kors factory outlet
golden state warriors jersey
ray ban sunglasses outlet
cheap air jordans
ugg boots clearance
ugg boots clearance
bally shoes
suicoke sandals
coach outlet
cheap jordan shoes
carrera sunglasses
coach factory outlet
ralph lauren outlet
uggs outlet online
christian louboutin shoes
coach outlet store
ugg boots clearance
air max 97
freshjive clothing
true religion jeans
balenciaga sandals
michael kors outlet clearance
cheap jordan shoes
uggs outlet online
canada goose outlet store
mbt shoes outlet
supreme shirts
arcteryx jacket
polo ralph lauren factory store
polo ralph lauren shirts
the north face
lacoste pas cher
coach factory outlet
coach outlet store online
canada goose outlet store
mac outlet
kate spade
oakley sunglasses wholesale
uggs outlet online
kate spade outlet store
uggs outlet online
harden vol 2
polo ralph lauren outlet online
tag heuer watches
cheap jordan shoes
ralph lauren factory store
givenchy jewelry
christian louboutin sale
a bathing ape
Logged
ninest123
Ветеран
*****

Репутация: 0
Posts: 1 382


View Profile Email
« Reply #29 on: 6 November 2018, 09:22 »

cc20181106
birkenstocks
valentino shoes
ysl handbags
pandora store
pandora jewelry outlet
ugg outlet
coach outlet
philipp plein outlet
nike basketball shoes
coach outlet
louis vuitton outlet online
michael kors outlet canada
michael kors handbags
canada goose outlet
prada handbags
canada goose outlet
adidas yeezy
uggs outlet
chicago white sox jerseys
ugg boots
discount oakley sunglasses
ralph lauren sale clearance
tory burch outlet online
moncler outlet
nike air max
north face jackets
canada goose sale
jordan shoes
san diego padres jerseys
pandora jewelry
michael kors outlet
minnesota twins jerseys
pg 2
uggs outlet
oakley sunglasses outlet
air max 2017
air jordan shoes
louis vuitton outlet
pandora charms
cheap nike air max
christian louboutin
uggs canada
michael kors outlet
ecco shoes for men
coach outlet
ralph lauren outlet
uggs
pandora jewelry official site
coach outlet store
adidas outlet
fitflops sale clearance
coach factory outlet
asics outlet
red bottom shoes
coach outlet
nike air more money
ecco shoes
moncler outlet
fitflops
mont blanc pens
prada outlet
florida marlins jerseys
coach outlet
moncler jackets
jordan shoes
coach factorty outlet
ray ban sunglasses
nfl jerseys wholesale
michael kors outlet
birkenstock sandals
houston astros jerseys
yeezy boost 350
jimmy choo outlet
gucci outlet
ysl outlet
coach outlet store
nike outlet
polo outlet store
oakland athletics jerseys
cristiano ronaldo jerseys
rolex watches
canada goose jackets
ralph lauren outlet
christian louboutin outlet
uggs outlet
toms shoes
new balance shoes
ugg outlet
texas rangers jersey
kobe bryant shoes
coach factory outlet
coach factorty outlet
canada goose outlet
uggs outlet
pandora jewelry
longchamp handbags
yeezy boost
ecco shoes
pandora jewelry
canada goose outlet
coach outlet
pandora jewelry
polo ralph lauren outlet
louis vuitton outlet online
fitflops sale
pandora outlet
canada goose jackets
arizona diamondbacks jerseys
fitflops
moncler jackets
ugg boots
moncler outlet
dr martens boots
uggs outlet store
adidas yeezy
kate spade outlet store
cheap jordan shoes
ugg outlet
nike tessen
timberland boots
coach canada outlet
adidas shoes
cheap nfl jerseys
fitflops
air max 90
ugg outlet
coach outlet
nike air presto
nike shoes
uggs outlet store
ralph lauren outlet
gucci outlet
los angeles angels jerseys
christian louboutin
nike outlet online
true religion outlet
nike shoes
timberland boots
cincinnati reds jerseys
nike air max
pandora charms sale
cheap oakley sunglasses
michael kors outlet
pandora charms sale clearance
lacoste polo shirts
coach outlet
swarovski outlet
coach outlet
kansas city royals jerseys
oakley sunglasses
birkenstock outlet
air max 97
uggs canada
hermes birkin
kate spade handbags
nmd adidas
pandora jewelry
fitflops sale clearance
skechers shoes
new york mets jerseys
nike dunks
coach outlet online
vans shoes
pandora charms
coach outlet
adidas yeezy boost
fred perry
pandora jewelry
canada goose outlet
tampa bay devil rays jerseys
michael kors outlet clearance
oakley sunglasses
adidas superstar
kate spade outlet store
supra shoes
ralph lauren sale clearance
michael kors handbags
canada goose outlet
kevin durant shoes
michael kors outlet online
toms outlet
canadian goose
coach factory outlet
pandora jewelry
ecco outlet
coach factory outlet
seattle mariners jerseys
cheap jordan shoes
hermes handbags
true religion outlet online
michael kors outlet
pandora jewelry official site
nike huarache
air jordan shoes
pandora charms sale clearance
replica watches
coach outlet store
canada goose outlet
nike free 4.0
moncler outlet
kate spade handbag
canada goose jackets
canada goose outlet
timberland boots
atlanta braves jerseys
ralph lauren uk
toms outlet
adidas shoes
hermes handbags
nike air max outlet
kate spade bags
air max 2019
kate spade handbags
cheap jordans for sale
fitflops
adidas yeezy boost
moncler jackets
nike air max
ugg outlet
supra shoes
jordan shoes
canada goose jackets
louis vuitton handbags
fitflops sale clearance
tory burch outlet
timberland boots
nike shoes
coach factory outlet
lebron james shoes
pandora charms
canada goose outlet
moncler outlet
michael kors outlet online
michael kors outlet online
kate spade outlet
pandora jewelry
birkenstock sandals
michael kors outlet
jordan shoes
converse all star
birkenstock sandals
moncler outlet
michael kors outlet clearance
converse outlet store
ugg outlet
cheap nfl jerseys
canada goose outlet
canada goose
adidas outlet
polo outlet
cheap mlb jerseys
canada goose jackets
ralph lauren sale
pandora charms
adidas
christian louboutin outlet
coach outlet store online clearances
baltimore orioles jerseys
cc20181106
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic