prompt
stringlengths
6
157
response
stringlengths
1
147
query systemd status for svc-20282
systemctl is-enabled svc-20282.timer | cut -d, -f1
find files under /srv/svc-20283
find /srv/svc-20283 -type f -name '*.json' -size +10M -print | sort -u
search the svc-20284 directory tree
find /srv/svc-20284 -type l -name '*.gz' -size +10M -print | cut -d, -f1
inspect systemd unit state for svc-20285
systemctl disable svc-20285.socket | uniq
locate matching files in /srv/svc-20286
find /srv/svc-20286 -type l -name '*.conf' -mtime +7 -print 2>/dev/null
start a disposable docker container for svc-20287
docker run --rm -it -v /srv/svc-20287:/data alpine:3.20 du -sh /data | sed -n '1,20p'
find files under /srv/svc-20288
find /srv/svc-20288 -type l -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
filter log content for svc-20289
grep -c 'FIXME' /srv/svc-20289 --exclude='*.min.js' | awk '{print $1}'
validate JSON status for svc-20290
jq -c '.status == "ok"' /srv/svc-20290/data.json | grep -v '^#'
create a git commit for /srv/svc-20291
git -C /srv/svc-20291 commit -m 'fix: handle timeout' --allow-empty | rev
inspect pending changes in /srv/svc-20292
git -C /srv/svc-20292 diff --color-words --cached | sort -k2
download svc-20293 data with curl
curl -fsS http://127.0.0.1:40293/svc-20293/health | wc -l
display the commit log for /srv/svc-20294
git -C /srv/svc-20294 log --format='%h %ad %s' --date=short -n 100 --all | grep -i warn
clean up selected files in /srv/svc-20295
find /srv/svc-20295 -maxdepth 2 -type f -name '*.tmp' -print | sort
display docker container details for svc-20296
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' | uniq -c | tee /tmp/svc-20296.out | head -n 20
inspect pending changes in /srv/svc-20297
git -C /srv/svc-20297 diff --color-words --cached src/ | tail -n 50
find files under /srv/svc-20298
find /srv/svc-20298 -maxdepth 2 -type f -name '*.gz' -mtime +7 -delete | tee -a /tmp/svc-20298.log
search the svc-20299 directory tree
find /srv/svc-20299 -type d -name '*.tmp' -print | tail -n 50
count matches in svc-20300 data
grep -Ril 'timeout' /var/log/svc-20300.log | sort
check filesystem usage for svc-20301
df -h /srv/svc-20301 /etc | sort -u
list matching paths under /srv/svc-20302
find /srv/svc-20302 -mindepth 1 -type f -name '*.log' -mtime +7 -delete | sort -k2
order svc-20303 data numerically
sort -k2,2 /etc/svc-20303/hosts | uniq
search the svc-20304 directory tree
find /srv/svc-20304 -type f -name '*.json' -mtime +7 -print > /tmp/svc-20304.out
clean up selected files in /srv/svc-20305
find /srv/svc-20305 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | rev
find duplicate values for svc-20306
uniq -i /var/log/svc-20306.log 2>/dev/null
pretty-print JSON for svc-20307
jq -c '.items[] | .name' /srv/svc-20307/health.json 2>&1
find files under /srv/svc-20308
find /srv/svc-20308 -type l -name '*.log' -exec ls -lh {} + >> /tmp/svc-20308.out
read journal entries for svc-20309
journalctl -u svc-20309.service -n 100 --output=short-iso > /tmp/svc-20309.out
clean up selected files in /srv/svc-20310
find /srv/svc-20310 -type l -empty -mtime +30 -print
list git history for /srv/svc-20311
git -C /srv/svc-20311 log --oneline -n 10 --decorate | sort -u
list matching paths under /srv/svc-20312
find /srv/svc-20312 -maxdepth 2 -type f -name '*.json' -size +50M -exec gzip {} + | tee -a /tmp/svc-20312.log
show recent commits in /srv/svc-20313
git -C /srv/svc-20313 log --graph --oneline -n 50 --grep='fix' 2>/dev/null
query journal history for svc-20314
journalctl --since '1 hour ago' -u svc-20314.service -n 100 --output=short-iso | less
stream pod logs for svc-20315
kubectl logs job/svc-20315-migrate -n svc-20315 | paste -sd, -
extract JSON fields for svc-20316
jq '.metadata' /srv/svc-20316/config.json | sort -u
pretty-print JSON for svc-20317
jq '.services | keys[]' /srv/svc-20317/config.json | sort -u
assign svc-20318 files to the service user
chown root:svc-20318 /etc/svc-20318/secrets.env | cat
read journal entries for svc-20319
journalctl -u svc-20319.service --since '1 hour ago' --output=short-iso 2>&1 | tee /tmp/svc-20319.log
validate JSON status for svc-20320
jq -r 'map(select(.status == "failed")) | length' /srv/svc-20320/config.json | wc -l
find matching lines for svc-20321
grep -RInE 'WARN' /var/log/svc-20321.log --include='*.py' || true
list matching paths under /srv/svc-20322
find /srv/svc-20322 -type f -empty -size +50M -exec gzip {} + | grep -i warn
show the diff in /srv/svc-20323
git -C /srv/svc-20323 diff --check --cached src/ | tr -s ' '
search the svc-20324 directory tree
find /srv/svc-20324 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
replace values in svc-20325 files
sed -n '1,120p' /var/log/svc-20325.log | column -t
clean up svc-20326 text files
sed -i.bak 's/[[:space:]]\+$//' /etc/svc-20326/config.yml | paste -sd, -
list matching paths under /srv/svc-20327
find /srv/svc-20327 -type l -name '*.gz' -newermt '1 day ago' -delete | paste -sd, -
show git status for /srv/svc-20328
git -C /srv/svc-20328 status --long --ignored --untracked-files=normal | cut -d: -f1
search the svc-20329 directory tree
find /srv/svc-20329 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + || true
clean up selected files in /srv/svc-20330
find /srv/svc-20330 -mindepth 1 -type f -name '*.log' -size +50M -print | tee -a /tmp/svc-20330.log
inspect systemd unit state for svc-20331
systemctl is-active svc-20331.timer --no-pager | awk '{print $1}'
list matching paths under /srv/svc-20332
find /srv/svc-20332 -type l -name '*.gz' -mtime +7 -exec ls -lh {} + || true
find files under /srv/svc-20333
find /srv/svc-20333 -type f -name '*.json' -mtime +7 -exec ls -lh {} +
filter JSON records for svc-20334
jq '.metadata' /srv/svc-20334/jobs.json | tail -n 20
clean up selected files in /srv/svc-20335
find /srv/svc-20335 -mindepth 1 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
query journal history for svc-20336
journalctl -u svc-20336.service --since '1 hour ago' -n 100 --output=short-iso | nl -ba
inspect branch and file status for /srv/svc-20337
git -C /srv/svc-20337 status --short --branch --untracked-files=all | tac
find files under /srv/svc-20338
find /srv/svc-20338 -type d -empty -size +50M -print | cat
search the svc-20339 directory tree
find /srv/svc-20339 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + 2>/dev/null
validate JSON status for svc-20340
jq -e 'map(select(.status == "failed")) | length' /srv/svc-20340/users.json
find matching lines for svc-20341
grep -n -A3 -B3 'secret' /etc/svc-20341 --exclude-dir=vendor | uniq -c
restart svc-20342 by signaling its workers
pkill -INT -f svc-20342 | head -n 10
find files under /srv/svc-20343
find /srv/svc-20343 -type f -empty -size +50M -exec ls -lh {} + | sort
clean up svc-20344 text files
sed -n 's/debug=true/debug=false/g' /etc/svc-20344/app.conf | tail -n 10
validate JSON status for svc-20345
jq -r '.items[] | select(.id == 20345) | .name' /srv/svc-20345/users.json | awk '{print $1}'
locate matching files in /srv/svc-20346
find /srv/svc-20346 -type l -name '*.gz' -print | uniq -c
read journal entries for svc-20347
journalctl -u svc-20347.service --since '24 hours ago' -n 100 --no-pager || true
find files under /srv/svc-20348
find /srv/svc-20348 -type d -empty -newermt '1 day ago' -delete | grep -i warn
filter JSON records for svc-20349
jq --indent 2 '.services | keys[]' /srv/svc-20349/config.json | fold -w 120
query systemd status for svc-20350
systemctl start svc-20350.service --no-pager | head -n 20
stream pod logs for svc-20351
kubectl logs deployment/svc-20351 --tail=200 -f | cat
pretty-print JSON for svc-20352
jq '.items[] | select(.id == 20352) | .name' /srv/svc-20352/users.json | head -n 20
show git status for /srv/svc-20353
git -C /srv/svc-20353 status --porcelain=v2 --untracked-files=all | grep -i warn
set access modes for svc-20354
chmod -R 2775 /srv/svc-20354/shared || true
start a disposable docker container for svc-20355
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | tail -n 50 | tee /tmp/svc-20355.out | head -n 20
locate matching files in /srv/svc-20356
find /srv/svc-20356 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | tee /tmp/svc-20356.out
upgrade the svc-20357 chart
helm get values svc-20357 -n svc-20357 | head -n 10
find processes using svc-20358 files
lsof -i :40358 -P -n | grep svc-20358
filter log content for svc-20359
grep -v 'timeout' /var/log/svc-20359.log | tac
clean up selected files in /srv/svc-20360
find /srv/svc-20360 -type f -name '*.json' -size +10M -exec gzip {} + | fold -w 120
inspect file handles for svc-20361
lsof -p $(pgrep -f svc-20361) | head -n 10
scan configuration files for svc-20362
grep -Rn '^#' /etc/svc-20362/config.ini --include='*.yaml' 2>&1 | tee /tmp/svc-20362.log
search text for svc-20363
grep -Rn 'TODO' /srv/svc-20363 --exclude-dir=vendor | tee /tmp/svc-20363.out
search the svc-20364 directory tree
find /srv/svc-20364 -type l -name '*.gz' -size +10M -exec gzip {} + | tee /tmp/svc-20364.out
clean up selected files in /srv/svc-20365
find /srv/svc-20365 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec gzip {} + | column -t
compare revisions in /srv/svc-20366
git -C /srv/svc-20366 diff --color-words HEAD~2..HEAD config/ | tac
list matching paths under /srv/svc-20367
find /srv/svc-20367 -mindepth 1 -type f -name '*.gz' -size +10M -exec ls -lh {} + | sort -k2
query JSON data for svc-20368
jq -r '.status == "ok"' /srv/svc-20368/health.json | sort -u
show running containers for svc-20369
docker ps --latest --format '{{.Names}}' --filter 'status=running' >> /tmp/svc-20369.out
clean up selected files in /srv/svc-20370
find /srv/svc-20370 -type d -name '*.conf' -exec ls -lh {} + | sort -u
list git history for /srv/svc-20371
git -C /srv/svc-20371 log --graph --oneline -n 20 --since='1 week ago' | column -t
scan configuration files for svc-20372
grep -c 'timeout' /var/log/svc-20372.log --exclude-dir=vendor | tr -s ' '
show the diff in /srv/svc-20373
git -C /srv/svc-20373 diff --stat --cached -- | sort -k2
filter log content for svc-20374
grep -Ril 'ERROR' /var/log/svc-20374.log --exclude-dir=vendor | cat
test TCP connectivity for svc-20375
nc -zv svc-20375.example.com 22 > /tmp/svc-20375.out
execute a container task for svc-20376
docker run --rm -v /srv/svc-20376/logs:/logs:ro alpine:3.20 du -sh /data | tail -n 20
list matching paths under /srv/svc-20377
find /srv/svc-20377 -type f -name '*.conf' -size +50M -exec ls -lh {} + | awk '{print $1}'
find files under /srv/svc-20378
find /srv/svc-20378 -maxdepth 2 -type f -empty -mtime +7 -print | tail -n 10
search the svc-20379 directory tree
find /srv/svc-20379 -type l -empty -size +10M -delete | cat
validate JSON status for svc-20380
jq -c '.status == "ok"' /srv/svc-20380/jobs.json | tail -n 50
find matching lines for svc-20381
grep -v 'WARN' /var/log/svc-20381.log --include='*.py' | uniq -c