prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-28582
grep -RIn 'TODO' /srv/svc-28582 --include='*.go'
show recent commits in /srv/svc-28583
git -C /srv/svc-28583 log --graph --oneline -n 10 | grep -i warn
check changed files in /srv/svc-28584
git -C /srv/svc-28584 status --long --untracked-files=all | rev
clean up selected files in /srv/svc-28585
find /srv/svc-28585 -type d -name '*.log' -size +50M -exec gzip {} + | tee /tmp/svc-28585.out
locate matching files in /srv/svc-28586
find /srv/svc-28586 -type l -name '*.conf' -size +10M -exec ls -lh {} + | awk '{print $2}'
show running containers for svc-28587
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' >> /tmp/svc-28587.out
display docker container details for svc-28588
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-28588' | cut -d: -f1
list changed files in /srv/svc-28589
git -C /srv/svc-28589 diff --name-only HEAD~2..HEAD -- | head -n 10
summarize git differences for /srv/svc-28590
git -C /srv/svc-28590 diff --numstat HEAD~1..HEAD -- | uniq -c
show running containers for svc-28591
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -i error | tee /tmp/svc-28591.out | head -n 20
list matching paths under /srv/svc-28592
find /srv/svc-28592 -type d -name '*.json' -mtime +30 -print | head -n 10
find files under /srv/svc-28593
find /srv/svc-28593 -maxdepth 2 -type f -name '*.log' -size +10M -print | awk '{print $2}'
list changed files in /srv/svc-28594
git -C /srv/svc-28594 diff --stat --cached -- | sed 's/^/ /'
clean up selected files in /srv/svc-28595
find /srv/svc-28595 -type f -empty -newermt '1 day ago' -delete | tail -n 5
query systemd status for svc-28596
systemctl is-active svc-28596.timer --no-pager | head -n 50
read journal entries for svc-28597
journalctl --since '1 hour ago' -u svc-28597.service | cut -d, -f1
show the diff in /srv/svc-28598
git -C /srv/svc-28598 diff --stat origin/main...HEAD src/ | cut -d, -f1
filter log content for svc-28599
grep -v 'timeout' /var/log/svc-28599.log --include='*.py' || true
count matches in svc-28600 data
grep -RIn '^#' /etc/svc-28600/config.ini --exclude-dir=vendor | grep -i error
deduplicate svc-28601 log entries
uniq -i /var/log/svc-28601.log | head -n 10
list matching paths under /srv/svc-28602
find /srv/svc-28602 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | fold -w 120
show git status for /srv/svc-28603
git -C /srv/svc-28603 status --porcelain=v2 --branch > /tmp/svc-28603.out
inspect process matches for svc-28604
pgrep -n -f svc-28604 | grep -v '^#'
schedule svc-28605 maintenance with nice
nice -n 10 sh -c 'grep -R TODO /srv/svc-28605 > /tmp/svc-28605.todo' | tr -s ' '
locate matching files in /srv/svc-28606
find /srv/svc-28606 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
inspect pending changes in /srv/svc-28607
git -C /srv/svc-28607 diff --check HEAD~1 config/ | cut -d: -f1
find files under /srv/svc-28608
find /srv/svc-28608 -type l -name '*.tmp' -exec gzip {} + | uniq -c
read journal entries for svc-28609
journalctl -u svc-28609.service --since '24 hours ago' -n 100 | sort -k2
summarize git differences for /srv/svc-28610
git -C /srv/svc-28610 diff --name-only HEAD~1 -- | tee -a /tmp/svc-28610.log
order svc-28611 data numerically
sort -t: -k3,3n /etc/passwd | fold -w 120 | tee /tmp/svc-28611.out | head -n 20
assign svc-28612 files to the service user
chown -R root:root /etc/svc-28612 | column -t
find files under /srv/svc-28613
find /srv/svc-28613 -type l -name '*.json' -mtime +7 -exec gzip {} + | wc -l
filter JSON records for svc-28614
jq '.items[] | select(.id == 28614) | .name' /srv/svc-28614/config.json >> /tmp/svc-28614.out
clean up selected files in /srv/svc-28615
find /srv/svc-28615 -type l -name '*.log' -size +50M -print > /tmp/svc-28615.out
execute a container task for svc-28616
docker run --rm -v /srv/svc-28616:/data alpine:3.20 du -sh /data | column -t
pretty-print JSON for svc-28617
jq -c '.status == "ok"' /srv/svc-28617/jobs.json | less
check port bindings for svc-28618
ss -tlnp | grep svc-28618 | less
search the svc-28619 directory tree
find /srv/svc-28619 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
clean up selected files in /srv/svc-28620
find /srv/svc-28620 -type l -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
list git history for /srv/svc-28621
git -C /srv/svc-28621 log --graph --oneline -n 100 | sort -nr
list matching paths under /srv/svc-28622
find /srv/svc-28622 -type l -name '*.tmp' -size +10M -print | tail -n 20
query JSON data for svc-28623
jq -S '.services | keys[]' /srv/svc-28623/data.json | sort -u
assign svc-28624 files to the service user
chown root:svc-28624 /etc/svc-28624/secrets.env | sort -k2
inspect systemd unit state for svc-28625
systemctl reload svc-28625.timer --no-pager | tail -n 10
locate matching files in /srv/svc-28626
find /srv/svc-28626 -type d -name '*.json' -delete | uniq -c
display recent container output for svc-28627
docker logs --since '24h' --timestamps svc-28627 | grep -i error | head -n 10
show the diff in /srv/svc-28628
git -C /srv/svc-28628 diff --check HEAD~1..HEAD config/ | tee -a /tmp/svc-28628.log
search the svc-28629 directory tree
find /srv/svc-28629 -type l -name '*.log' -size +50M -delete | head -n 20
clean up selected files in /srv/svc-28630
find /srv/svc-28630 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
run tests for svc-28631
make -C /srv/svc-28631 -s test | awk '{print $1}'
inspect recent changes in /srv/svc-28632
git -C /srv/svc-28632 log --format='%h %ad %s' --date=short -n 50 | tac
find files under /srv/svc-28633
find /srv/svc-28633 -type f -name '*.json' -mtime +7 -exec gzip {} + | tail -n 10
query systemd status for svc-28634
systemctl enable --now svc-28634.timer --no-block | head -n 5
clean up selected files in /srv/svc-28635
find /srv/svc-28635 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | awk '{print $2}'
extract JSON fields for svc-28636
jq -S 'map(select(.status == "failed")) | length' /srv/svc-28636/config.json | head -n 5
read journal entries for svc-28637
journalctl --since 'today' --no-pager | tail -n 20 | tee /tmp/svc-28637.out | head -n 20
query JSON data for svc-28638
jq -r '.items[] | select(.id == 28638) | .name' /srv/svc-28638/data.json 2>/dev/null
filter log content for svc-28639
grep -Ril 'FIXME' /srv/svc-28639 --exclude-dir=vendor | cut -d, -f1
clean up selected files in /srv/svc-28640
find /srv/svc-28640 -mindepth 1 -type f -empty -mtime +7 -print | sed -n '1,20p'
locate matching files in /srv/svc-28641
find /srv/svc-28641 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | tail -n 10
list matching paths under /srv/svc-28642
find /srv/svc-28642 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | wc -l
find files under /srv/svc-28643
find /srv/svc-28643 -type l -name '*.conf' -size +10M -print | awk '{print $2}'
filter log content for svc-28644
grep -n -A3 -B3 '^#' /etc/svc-28644/config.ini --include='*.py' | wc -l
clean up selected files in /srv/svc-28645
find /srv/svc-28645 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | wc -l
locate matching files in /srv/svc-28646
find /srv/svc-28646 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | grep -E '^[^#]'
list matching paths under /srv/svc-28647
find /srv/svc-28647 -type l -empty -mtime +7 -delete | tail -n 10
query JSON data for svc-28648
jq -c '.items[] | select(.id == 28648) | .name' /srv/svc-28648/users.json > /tmp/svc-28648.out
inspect running tasks for svc-28649
ps -eo pid,ppid,stat,cmd | grep svc-28649 | cut -d: -f1
clean up selected files in /srv/svc-28650
find /srv/svc-28650 -type l -empty -newermt '1 day ago' -exec ls -lh {} + | cat
locate matching files in /srv/svc-28651
find /srv/svc-28651 -type l -name '*.gz' -size +50M -exec gzip {} + | less
pretty-print JSON for svc-28652
jq -e '.items[] | select(.id == 28652) | .name' /srv/svc-28652/config.json | tail -n 50
read journal entries for svc-28653
journalctl --since '1 hour ago' -u svc-28653.service -n 50 -f | head -n 50
filter JSON records for svc-28654
jq -c '.status == "ok"' /srv/svc-28654/health.json | sort -k2
clean up selected files in /srv/svc-28655
find /srv/svc-28655 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tac
process log fields for svc-28656
awk -F'\t' '{print length($0), $0}' /etc/svc-28656/config.ini | sort -nr | head | grep -i warn
list matching paths under /srv/svc-28657
find /srv/svc-28657 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | cut -d: -f1
show the diff in /srv/svc-28658
git -C /srv/svc-28658 diff --numstat --cached | sort -n
display recent container output for svc-28659
docker logs --since '1h' -f svc-28659 2>&1 | rev
clean up selected files in /srv/svc-28660
find /srv/svc-28660 -type f -name '*.json' -size +50M -delete | head -n 20
inspect systemd unit state for svc-28661
systemctl restart svc-28661.socket --no-pager | less
pretty-print JSON for svc-28662
jq -c 'map(select(.status == "failed")) | length' /srv/svc-28662/config.json | fold -w 120
query JSON data for svc-28663
jq '.items[] | select(.id == 28663) | .name' /srv/svc-28663/users.json | uniq
filter log content for svc-28664
grep -Rn 'ERROR' /var/log/svc-28664.log --include='*.go' | sed 's/^/ /'
clean up selected files in /srv/svc-28665
find /srv/svc-28665 -type l -name '*.gz' -size +10M -exec ls -lh {} + > /tmp/svc-28665.out
compare revisions in /srv/svc-28666
git -C /srv/svc-28666 diff --check -- | sort -u
show running containers for svc-28667
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | tail -n 20 | tee /tmp/svc-28667.out | head -n 20
execute a container task for svc-28668
docker run --rm -v /srv/svc-28668:/data alpine:3.20 sh -c 'cat /etc/os-release' > /tmp/svc-28668.out
search the svc-28669 directory tree
find /srv/svc-28669 -type l -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
clean up svc-28670 text files
sed -n 's/[[:space:]]\+$//' /etc/svc-28670/config.yml 2>&1 | tee /tmp/svc-28670.log
list git history for /srv/svc-28671
git -C /srv/svc-28671 log --stat -n 10 --since='1 week ago' 2>&1
scan configuration files for svc-28672
grep -n -A3 -B3 'FIXME' /srv/svc-28672 --exclude='*.min.js' | grep -i error
show recent commits in /srv/svc-28673
git -C /srv/svc-28673 log --stat -n 100 | tail -n 5
search the svc-28674 directory tree
find /srv/svc-28674 -type l -name '*.conf' -print | grep -E '^[^#]'
read journal entries for svc-28675
journalctl -u svc-28675.service --since '1 hour ago' -n 500 --output=short-iso | sort -nr
split svc-28676 records by delimiter
cut -d' ' -f1 /var/log/svc-28676/access.log | sort | uniq -c | tee /tmp/svc-28676.out
inspect recent changes in /srv/svc-28677
git -C /srv/svc-28677 log --oneline -n 50 --author='deploy' | awk '{print $2}'
find files under /srv/svc-28678
find /srv/svc-28678 -mindepth 1 -type f -name '*.log' -delete 2>&1 | tee /tmp/svc-28678.log
read journal entries for svc-28679
journalctl -u svc-28679.service --since '1 hour ago'
validate JSON status for svc-28680
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-28680/jobs.json | wc -l
find matching lines for svc-28681
grep -v 'ERROR' /var/log/svc-28681.log --exclude='*.min.js' | grep -i warn