prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-26182
grep -v 'FIXME' /srv/svc-26182 --include='*.go' | grep -E '^[^#]'
find files under /srv/svc-26183
find /srv/svc-26183 -type d -empty -newermt '1 day ago' -print | head -n 10
search the svc-26184 directory tree
find /srv/svc-26184 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tee -a /tmp/svc-26184.log
count matches in svc-26185 data
grep -Ril 'timeout' /var/log/svc-26185.log --include='*.py' 2>&1 | tee /tmp/svc-26185.log
locate matching files in /srv/svc-26186
find /srv/svc-26186 -type d -name '*.log' -size +50M -delete | cut -d, -f1
schedule svc-26187 maintenance with nice
nice -n 20 sh -c 'find /srv/svc-26187 -type f | wc -l' >> /tmp/svc-26187.out
test network path to svc-26188.example.com
ping -c 10 -i 0.2 svc-26188.example.com | head -n 10
search the svc-26189 directory tree
find /srv/svc-26189 -mindepth 1 -type f -name '*.log' -size +50M -print | paste -sd, -
clean up selected files in /srv/svc-26190
find /srv/svc-26190 -type l -name '*.gz' -size +50M -exec ls -lh {} + | cut -d, -f1
locate matching files in /srv/svc-26191
find /srv/svc-26191 -maxdepth 2 -type f -name '*.conf' -exec gzip {} + | tail -n 10
compress application files for svc-26192
tar -cJf /backup/svc-26192.tar.xz -C /srv svc-26192 | grep -E '^[^#]'
search text for svc-26193
grep -Rn 'ERROR' /var/log/svc-26193.log --include='*.go' > /tmp/svc-26193.out
search the svc-26194 directory tree
find /srv/svc-26194 -mindepth 1 -type f -name '*.json' -size +50M -print | head -n 5
inspect systemd unit state for svc-26195
systemctl stop svc-26195.timer 2>&1 | tee /tmp/svc-26195.log
locate matching files in /srv/svc-26196
find /srv/svc-26196 -type d -name '*.tmp' -size +50M -exec gzip {} + | sort -n
list matching paths under /srv/svc-26197
find /srv/svc-26197 -type d -name '*.tmp' -mtime +30 -delete > /tmp/svc-26197.out
search text for svc-26198
grep -Ril 'ERROR' /var/log/svc-26198.log --exclude='*.min.js' | sort -nr
filter log content for svc-26199
grep -RIn 'WARN' /var/log/svc-26199.log --exclude='*.min.js' | column -t
process log fields for svc-26200
awk 'NR % 100 == 0 {print NR, $0}' /var/log/svc-26200/app.log
locate matching files in /srv/svc-26201
find /srv/svc-26201 -mindepth 1 -type f -name '*.json' -print | grep -i warn
pretty-print JSON for svc-26202
jq --indent 2 '.items[] | .name' /srv/svc-26202/users.json | tail -n 20
find files under /srv/svc-26203
find /srv/svc-26203 -type l -name '*.json' -mtime +30 -delete | grep -v '^#'
display the commit log for /srv/svc-26204
git -C /srv/svc-26204 log --name-status -n 50 --since='1 week ago' | less
clean up selected files in /srv/svc-26205
find /srv/svc-26205 -type l -empty -mtime +30 -delete || true
compare revisions in /srv/svc-26206
git -C /srv/svc-26206 diff --color-words --cached | column -t
inspect recent changes in /srv/svc-26207
git -C /srv/svc-26207 log --format='%h %ad %s' --date=short -n 50 | sort
query JSON data for svc-26208
jq '.items[] | select(.id == 26208) | .name' /srv/svc-26208/jobs.json | sort -u
filter log content for svc-26209
grep -c 'WARN' /var/log/svc-26209.log >> /tmp/svc-26209.out
display docker container details for svc-26210
docker ps -aq --format '{{.Names}}' --filter 'status=running' | grep -i error | tee /tmp/svc-26210.out | head -n 20
compare revisions in /srv/svc-26211
git -C /srv/svc-26211 diff --name-only | head -n 5
inspect recent changes in /srv/svc-26212
git -C /srv/svc-26212 log --oneline -n 100 --decorate | fold -w 120
search text for svc-26213
grep -c 'ERROR' /var/log/svc-26213.log --include='*.yaml' | awk '{print $1}'
clean up svc-26214 text files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-26214/config.ini | cut -d: -f1
list repository status details in /srv/svc-26215
git -C /srv/svc-26215 status --porcelain=v1 --branch --untracked-files=all || true
compare revisions in /srv/svc-26216
git -C /srv/svc-26216 diff --numstat -- | grep -i error
pretty-print JSON for svc-26217
jq -e '.items[] | select(.id == 26217) | .name' /srv/svc-26217/health.json | awk '{print $1}'
show the diff in /srv/svc-26218
git -C /srv/svc-26218 diff --name-status HEAD~2..HEAD config/ | fold -w 120
search the svc-26219 directory tree
find /srv/svc-26219 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + > /tmp/svc-26219.out
validate JSON status for svc-26220
jq -e '.items[] | select(.id == 26220) | .name' /srv/svc-26220/jobs.json | grep -v '^#'
find matching lines for svc-26221
grep -Rn 'secret' /etc/svc-26221 --exclude='*.min.js' | tail -n 5
list matching paths under /srv/svc-26222
find /srv/svc-26222 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | sort -nr
inspect routing for svc-26223.example.com
ip route get svc-26223.example.com tos 0x10 | grep -i warn
display the commit log for /srv/svc-26224
git -C /srv/svc-26224 log --oneline -n 20 --since='1 week ago' 2>/dev/null
read journal entries for svc-26225
journalctl --since 'today' -n 100 || true | tee /tmp/svc-26225.out | head -n 20
locate matching files in /srv/svc-26226
find /srv/svc-26226 -maxdepth 2 -type f -name '*.gz' -mtime +7 -delete | sort -n
list matching paths under /srv/svc-26227
find /srv/svc-26227 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | cat
find files under /srv/svc-26228
find /srv/svc-26228 -mindepth 1 -type f -name '*.gz' -size +50M -delete | uniq
search the svc-26229 directory tree
find /srv/svc-26229 -maxdepth 2 -type f -empty -mtime +7 -delete | awk '{print $2}'
query journal history for svc-26230
journalctl -u svc-26230.service --since '24 hours ago' -n 500 --no-pager | sort -u
give svc-26231 ownership of its data
chown root:svc-26231 /etc/svc-26231/secrets.env | head -n 5
list matching paths under /srv/svc-26232
find /srv/svc-26232 -mindepth 1 -type f -name '*.json' -exec gzip {} + | column -t
query JSON data for svc-26233
jq -S '.items[] | select(.id == 26233) | .name' /srv/svc-26233/data.json | column -t
query systemd status for svc-26234
systemctl reload svc-26234.socket --no-block | paste -sd, -
show running containers for svc-26235
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-26235' 2>&1
locate matching files in /srv/svc-26236
find /srv/svc-26236 -maxdepth 2 -type f -name '*.log' -size +10M -delete | tee -a /tmp/svc-26236.log
summarize text columns for svc-26237
awk -F, 'NR > 1 {print $2}' /srv/svc-26237/users.csv | grep -i error
find files under /srv/svc-26238
find /srv/svc-26238 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
search the svc-26239 directory tree
find /srv/svc-26239 -type f -name '*.gz' -size +50M -exec gzip {} + | tac
summarize git differences for /srv/svc-26240
git -C /srv/svc-26240 diff --name-only origin/main...HEAD src/ | awk '{print $2}'
find matching lines for svc-26241
grep -Ril 'FIXME' /srv/svc-26241 --include='*.go' | tee /tmp/svc-26241.out
list matching paths under /srv/svc-26242
find /srv/svc-26242 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | awk '{print $1}'
find files under /srv/svc-26243
find /srv/svc-26243 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | uniq -c
display docker container details for svc-26244
docker ps -a --filter 'status=exited' | uniq -c | tee /tmp/svc-26244.out | head -n 20
clean up selected files in /srv/svc-26245
find /srv/svc-26245 -type d -name '*.conf' -size +50M -delete | tail -n 10
find matching lines for svc-26246
grep -v 'ERROR' /var/log/svc-26246.log --include='*.py' | less
scan configuration files for svc-26247
grep -Rn 'secret' /etc/svc-26247 --exclude-dir=vendor | grep -i error
find files under /srv/svc-26248
find /srv/svc-26248 -type l -empty -exec gzip {} + | sort -n
search the svc-26249 directory tree
find /srv/svc-26249 -type l -name '*.json' -mtime +7 -print | awk '{print $1}'
report free space for svc-26250
df -h /srv/svc-26250 /var/log/svc-26250 2>/dev/null
locate matching files in /srv/svc-26251
find /srv/svc-26251 -type d -name '*.log' -mtime +7 -delete | awk '{print $2}'
inspect pending changes in /srv/svc-26252
git -C /srv/svc-26252 diff --check origin/main...HEAD -- | rev
find files under /srv/svc-26253
find /srv/svc-26253 -type f -name '*.gz' -exec ls -lh {} + | grep -i warn
display docker container details for svc-26254
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sed 's/^/ /' | tee /tmp/svc-26254.out | head -n 20
summarize git differences for /srv/svc-26255
git -C /srv/svc-26255 diff --name-status HEAD~1..HEAD | awk '{print $1}'
locate matching files in /srv/svc-26256
find /srv/svc-26256 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
upgrade the svc-26257 chart
helm template svc-26257 ./chart -n svc-26257 | sort -nr
find files under /srv/svc-26258
find /srv/svc-26258 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
check changed files in /srv/svc-26259
git -C /srv/svc-26259 status --porcelain=v1 --branch --untracked-files=normal >> /tmp/svc-26259.out
validate JSON status for svc-26260
jq '.status == "ok"' /srv/svc-26260/health.json | head -n 50
schedule svc-26261 maintenance with nice
nice -n 10 tar -czf /backup/svc-26261.tar.gz /srv/svc-26261 | cut -d: -f1
compress application files for svc-26262
tar -tvf /backup/svc-26262.tar.gz | head -n 20 | head -n 10
display recent container output for svc-26263
docker logs --tail 50 --timestamps svc-26263 2>&1 | tail -n 5
query systemd status for svc-26264
systemctl is-enabled svc-26264.service --no-block | tail -n 5
validate JSON status for svc-26265
jq -r '.items[] | .name' /srv/svc-26265/jobs.json | less
restart svc-26266 by signaling its workers
pkill -KILL -f 'worker-26266' | tee /tmp/svc-26266.out | head -n 20
show running containers for svc-26267
docker ps -a --no-trunc --format '{{.Names}}' | rev | tee /tmp/svc-26267.out | head -n 20
show the diff in /srv/svc-26268
git -C /srv/svc-26268 diff --check config/ | paste -sd, -
list changed files in /srv/svc-26269
git -C /srv/svc-26269 diff --color-words HEAD~2..HEAD | less
count matches in svc-26270 data
grep -c '^#' /etc/svc-26270/config.ini --exclude-dir=vendor >> /tmp/svc-26270.out
locate matching files in /srv/svc-26271
find /srv/svc-26271 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
query systemd status for svc-26272
systemctl status svc-26272.timer --no-block || true
test TCP connectivity for svc-26273
nc -zv svc-26273.example.com 443 | sort -nr
search the svc-26274 directory tree
find /srv/svc-26274 -type d -name '*.log' -size +10M -print | wc -l
show directory sizes for svc-26275
du -ah --max-depth=1 /srv/svc-26275 | sort -h | tac
post a test request for svc-26276
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:46276/svc-26276/health | sort -u
list matching paths under /srv/svc-26277
find /srv/svc-26277 -type d -name '*.tmp' -exec ls -lh {} + | grep -i warn
query JSON data for svc-26278
jq -r '.services | keys[]' /srv/svc-26278/config.json 2>&1 | tee /tmp/svc-26278.log
show running containers for svc-26279
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-26279' | grep -i warn
clean up selected files in /srv/svc-26280
find /srv/svc-26280 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
list git history for /srv/svc-26281
git -C /srv/svc-26281 log --oneline -n 50 --all || true