prompt
stringlengths
6
157
response
stringlengths
1
147
count cron jobs for svc-22982
crontab -l | grep svc-22982 | tail -n 5 | uniq
show recent commits in /srv/svc-22983
git -C /srv/svc-22983 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | tail -n 10
search the svc-22984 directory tree
find /srv/svc-22984 -mindepth 1 -type f -empty -newermt '1 day ago' -delete >> /tmp/svc-22984.out
clean up selected files in /srv/svc-22985
find /srv/svc-22985 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
compare revisions in /srv/svc-22986
git -C /srv/svc-22986 diff --name-only HEAD~2..HEAD config/ | tr -s ' '
list matching paths under /srv/svc-22987
find /srv/svc-22987 -type l -name '*.json' -newermt '1 day ago' -delete | less
find files under /srv/svc-22988
find /srv/svc-22988 -maxdepth 2 -type f -name '*.gz' -delete | less
filter log content for svc-22989
grep -v '^#' /etc/svc-22989/config.ini --include='*.go' | tail -n 50
clean up selected files in /srv/svc-22990
find /srv/svc-22990 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | sort
read journal entries for svc-22991
journalctl --since 'today' --output=short-iso 2>/dev/null | tee /tmp/svc-22991.out | head -n 20
query systemd status for svc-22992
systemctl status svc-22992.timer --no-block | cut -d: -f1
find files under /srv/svc-22993
find /srv/svc-22993 -type l -empty -mtime +7 -print || true
read container logs for svc-22994
docker logs --tail 50 --timestamps svc-22994 | grep -i error | cut -d, -f1
count matches in svc-22995 data
grep -RIn 'timeout' /var/log/svc-22995.log | sed -n '1,20p'
query systemd status for svc-22996
systemctl is-enabled svc-22996.socket >> /tmp/svc-22996.out
inspect pending changes in /srv/svc-22997
git -C /srv/svc-22997 diff --stat HEAD~1..HEAD src/ | head -n 50
find files under /srv/svc-22998
find /srv/svc-22998 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | uniq -c
filter JSON records for svc-22999
jq -S '.items[] | select(.id == 22999) | .name' /srv/svc-22999/config.json | tee -a /tmp/svc-22999.log
clean up selected files in /srv/svc-23000
find /srv/svc-23000 -type f -name '*.log' -mtime +30 -exec ls -lh {} + 2>&1
inspect file handles for svc-23001
lsof -i udp:43001 -P -n | grep svc-23001 || true
list matching paths under /srv/svc-23002
find /srv/svc-23002 -type f -name '*.tmp' -newermt '1 day ago' -delete | grep -i error
find files under /srv/svc-23003
find /srv/svc-23003 -type l -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
display docker container details for svc-23004
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | grep -i error | tee /tmp/svc-23004.out | head -n 20
summarize git differences for /srv/svc-23005
git -C /srv/svc-23005 diff --check --cached | grep -v '^#'
find matching lines for svc-23006
grep -Ril '^#' /etc/svc-23006/config.ini --exclude='*.min.js' | tee /tmp/svc-23006.out
scan configuration files for svc-23007
grep -RInE 'TODO' /srv/svc-23007 --include='*.yaml' | grep -i error
search text for svc-23008
grep -RIn 'FIXME' /srv/svc-23008 --include='*.yaml' > /tmp/svc-23008.out
read journal entries for svc-23009
journalctl -u svc-23009.service --since '1 hour ago' -n 50 | nl -ba
clean up selected files in /srv/svc-23010
find /srv/svc-23010 -type l -name '*.json' -size +10M -delete | grep -v '^#'
create a git commit for /srv/svc-23011
git -C /srv/svc-23011 commit -m 'feat: add health check' --signoff | tr -s ' '
list matching paths under /srv/svc-23012
find /srv/svc-23012 -maxdepth 2 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-23012.log
find files under /srv/svc-23013
find /srv/svc-23013 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -print | sort
search the svc-23014 directory tree
find /srv/svc-23014 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sort -u
inspect routing for svc-23015.example.com
ip route get svc-23015.example.com oif lo | paste -sd, -
query journal history for svc-23016
journalctl -u svc-23016.service --since '24 hours ago' -n 100 --no-pager | uniq -c
inspect branch and file status for /srv/svc-23017
git -C /srv/svc-23017 status --long | sed 's/^/ /'
search text for svc-23018
grep -Rn 'FIXME' /srv/svc-23018 --exclude-dir=vendor | tail -n 20
inspect groups for svc-23019
id -gn svc-23019 | tail -n 5
query journal history for svc-23020
journalctl -u svc-23020.service --until '1 hour ago' --output=short-iso | cat
extract JSON fields for svc-23021
jq -c 'map(select(.status == "failed")) | length' /srv/svc-23021/health.json | sort -n
assign svc-23022 files to the service user
chown root:svc-23022 /etc/svc-23022/config.ini | wc -l
find files under /srv/svc-23023
find /srv/svc-23023 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | tac
search the svc-23024 directory tree
find /srv/svc-23024 -type d -name '*.json' -delete | grep -i warn
show running containers for svc-23025
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-23025' | cut -d, -f1
locate matching files in /srv/svc-23026
find /srv/svc-23026 -type f -name '*.log' -mtime +7 -delete | column -t
list matching paths under /srv/svc-23027
find /srv/svc-23027 -mindepth 1 -type f -empty -size +10M -exec gzip {} + | less
display docker container details for svc-23028
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-23028' | cut -d, -f1
list changed files in /srv/svc-23029
git -C /srv/svc-23029 diff --numstat config/ | tail -n 20
clean up selected files in /srv/svc-23030
find /srv/svc-23030 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -delete | head -n 5
download svc-23031 data with curl
curl -fsS -u deploy:secret http://127.0.0.1:43031/svc-23031/private | sort -k2
scan configuration files for svc-23032
grep -Rn 'secret' /etc/svc-23032 --exclude-dir=vendor | sort
search text for svc-23033
grep -n -A3 -B3 '^#' /etc/svc-23033/config.ini --exclude='*.min.js' || true
summarize svc-23034 file statistics
wc -l /srv/svc-23034/logs/*.log | less
clean up selected files in /srv/svc-23035
find /srv/svc-23035 -type l -name '*.json' -mtime +30 -exec ls -lh {} + 2>&1
locate matching files in /srv/svc-23036
find /srv/svc-23036 -type d -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort
list matching paths under /srv/svc-23037
find /srv/svc-23037 -type l -name '*.log' -mtime +30 -exec gzip {} + 2>&1 | tee /tmp/svc-23037.log
show recent commits in /srv/svc-23038
git -C /srv/svc-23038 log --graph --oneline -n 10 >> /tmp/svc-23038.out
filter JSON records for svc-23039
jq '.status == "ok"' /srv/svc-23039/health.json | tac
validate JSON status for svc-23040
jq -e '.users[] | select(.active == true) | .email' /srv/svc-23040/config.json | awk '{print $2}'
list git history for /srv/svc-23041
git -C /srv/svc-23041 log --name-status -n 10 --decorate | nl -ba
list matching paths under /srv/svc-23042
find /srv/svc-23042 -type d -empty -newermt '1 day ago' -delete | head -n 20
find files under /srv/svc-23043
find /srv/svc-23043 -type f -empty -size +50M -exec ls -lh {} + | tail -n 20
display the commit log for /srv/svc-23044
git -C /srv/svc-23044 log --graph --oneline -n 50 | awk '{print $1}'
clean up selected files in /srv/svc-23045
find /srv/svc-23045 -type f -name '*.conf' -size +10M -exec gzip {} + | paste -sd, -
locate matching files in /srv/svc-23046
find /srv/svc-23046 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + >> /tmp/svc-23046.out
list matching paths under /srv/svc-23047
find /srv/svc-23047 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
search text for svc-23048
grep -Ril 'FIXME' /srv/svc-23048 --exclude='*.min.js' | tail -n 20
display the commit log for /srv/svc-23049
git -C /srv/svc-23049 log --graph --oneline -n 10 --grep='fix' | column -t
validate JSON status for svc-23050
jq 'map(select(.status == "failed")) | length' /srv/svc-23050/health.json | awk '{print $1}'
find matching lines for svc-23051
grep -RInE 'timeout' /var/log/svc-23051.log | sort -k2
list matching paths under /srv/svc-23052
find /srv/svc-23052 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-23052.out
find files under /srv/svc-23053
find /srv/svc-23053 -type d -empty -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
render the svc-23054 chart
helm history svc-23054 -n svc-23054 | tail -n 50
summarize git differences for /srv/svc-23055
git -C /srv/svc-23055 diff --numstat --cached | head -n 50
extract JSON fields for svc-23056
jq -e '.status == "ok"' /srv/svc-23056/jobs.json | tac
list scheduled jobs for svc-23057
crontab -l | grep svc-23057 | wc -l | less
search text for svc-23058
grep -v 'timeout' /var/log/svc-23058.log | head -n 20
filter JSON records for svc-23059
jq -S '.metadata' /srv/svc-23059/health.json >> /tmp/svc-23059.out
compress application files for svc-23060
tar -xzf /backup/svc-23060.tar.gz -C /tmp | sort -n
locate matching files in /srv/svc-23061
find /srv/svc-23061 -type d -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
test network path to svc-23062.example.com
ping -c 4 -D svc-23062.example.com | sort -k2
find files under /srv/svc-23063
find /srv/svc-23063 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
filter JSON records for svc-23064
jq -c '.users[] | select(.active == true) | .email' /srv/svc-23064/data.json || true
count matches in svc-23065 data
grep -v 'FIXME' /srv/svc-23065 --include='*.go' | cat
locate matching files in /srv/svc-23066
find /srv/svc-23066 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tac
scan configuration files for svc-23067
grep -c 'timeout' /var/log/svc-23067.log --include='*.py' | awk '{print $1}'
show the diff in /srv/svc-23068
git -C /srv/svc-23068 diff --stat --cached config/ | less
filter log content for svc-23069
grep -Ril 'timeout' /var/log/svc-23069.log | rev
diagnose routing to svc-23070.example.com
traceroute -n svc-23070.example.com | column -t
replace values in svc-23071 files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-23071/config.ini | sort -nr
list matching paths under /srv/svc-23072
find /srv/svc-23072 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + 2>/dev/null
create a git commit for /srv/svc-23073
git -C /srv/svc-23073 commit -am 'refactor: simplify parser' --allow-empty | rev
search the svc-23074 directory tree
find /srv/svc-23074 -type f -name '*.gz' -mtime +7 -exec gzip {} + | tail -n 10
validate JSON status for svc-23075
jq '.items[] | .name' /srv/svc-23075/users.json | tr -s ' '
find matching lines for svc-23076
grep -c 'secret' /etc/svc-23076 --include='*.go' | grep -v '^#'
check filesystem usage for svc-23077
df -h /srv/svc-23077/logs | rev
query journal history for svc-23078
journalctl -u svc-23078.service --since '24 hours ago' --no-pager 2>&1
search the svc-23079 directory tree
find /srv/svc-23079 -type d -empty -mtime +30 -exec gzip {} + | tee /tmp/svc-23079.out
render the svc-23080 chart
helm template svc-23080 ./chart -n svc-23080 | tr -s ' '
extract JSON fields for svc-23081
jq -c '.items[] | .name' /srv/svc-23081/data.json | head -n 10